Thread (22 messages) 22 messages, 7 authors, 2018-08-14

Re: [PATCH 2/6] block: genhd: add 'groups' argument to device_add_disk

From: Christoph Hellwig <hch@lst.de>
Date: 2018-07-30 08:57:40

On Mon, Jul 30, 2018 at 09:12:23AM +0200, Hannes Reinecke wrote:
Update device_add_disk() to take an 'groups' argument so that
individual drivers can register a device with additional sysfs
attributes.
This avoids race condition the driver would otherwise have if these
groups were to be created with sysfs_add_groups().

Signed-off-by: Martin Wilck <redacted>
Signed-off-by: Hannes Reinecke <hare@suse.com>
The first signoff should always be the author.

Otherwise this looks fine (modulo any context changes due to patch 1):

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help