Re: [PATCH 1/5] block: genhd: add 'groups' argument to device_add_disk

From: Bart Van Assche
Date: Tue Aug 14 2018 - 11:17:18 EST


On Tue, 2018-08-14 at 09:33 +-0200, Hannes Reinecke wrote:
+AD4- Update device+AF8-add+AF8-disk() to take an 'groups' argument so that
+AD4- individual drivers can register a device with additional sysfs
+AD4- attributes.
+AD4- This avoids race condition the driver would otherwise have if these
+AF4- +ACI-a+ACI- is missing?
+AD4- groups were to be created with sysfs+AF8-add+AF8-groups().

Anyway:

Reviewed-by: Bart Van Assche +ADw-bart.vanassche+AEA-wdc.com+AD4-