linux_dsm_epyc7002/drivers/block/rsxx
Hannes Reinecke fef912bf86 block: genhd: add 'groups' argument to device_add_disk
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 <martin.wilck@suse.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-28 08:30:28 -06:00
..
config.c block: IBM RamSan 70/80 branding changes. 2013-03-11 19:53:55 +01:00
core.c rsxx: Convert to new IDA API 2018-08-21 23:54:18 -04:00
cregs.c rsxx: Remove unnecessary parentheses 2018-09-11 16:56:39 -06:00
dev.c block: genhd: add 'groups' argument to device_add_disk 2018-09-28 08:30:28 -06:00
dma.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
Makefile block: IBM RamSan 70/80 branding changes. 2013-03-11 19:53:55 +01:00
rsxx_cfg.h block: IBM RamSan 70/80 branding changes. 2013-03-11 19:53:55 +01:00
rsxx_priv.h block: switch bios to blk_status_t 2017-06-09 09:27:32 -06:00
rsxx.h block: IBM RamSan 70/80 trivial changes. 2013-03-11 19:53:55 +01:00