[PATCH 2/2] nvme: use device_add_disk_with_groups()

Keith Busch keith.busch at intel.com
Fri Sep 29 16:00:07 PDT 2017


On Thu, Sep 28, 2017 at 09:36:37PM +0200, Martin Wilck wrote:
> By using device_add_disk_with_groups(), we can avoid the race
> condition with udev rule processing, because no udev event will
> be triggered before all attributes are available.
> 
> Signed-off-by: Martin Wilck <mwilck at suse.com>

Looks good.

Reviewed-by: Keith Busch <keith.busch at intel.com>



More information about the Linux-nvme mailing list