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

From: Keith Busch
Date: Fri Sep 29 2017 - 19:00:47 EST


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@xxxxxxxx>

Looks good.

Reviewed-by: Keith Busch <keith.busch@xxxxxxxxx>