kernel-hacking-2024-linux-s.../drivers/nvdimm
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
..
badrange.c
blk.c block: genhd: add 'groups' argument to device_add_disk 2018-09-28 08:30:28 -06:00
btt.c block: genhd: add 'groups' argument to device_add_disk 2018-09-28 08:30:28 -06:00
btt.h
btt_devs.c
bus.c libnvdimm: fix ars_status output length calculation 2018-08-20 08:56:38 -07:00
claim.c
core.c
dax_devs.c
dimm.c
dimm_devs.c libnvdimm: Use max contiguous area for namespace size 2018-07-25 14:11:09 -07:00
e820.c
Kconfig
label.c
label.h
Makefile
namespace_devs.c libnvdimm: Use max contiguous area for namespace size 2018-07-25 14:11:09 -07:00
nd-core.h libnvdimm: Use max contiguous area for namespace size 2018-07-25 14:11:09 -07:00
nd.h libnvdimm-for-4.19_misc 2018-08-25 18:13:10 -07:00
of_pmem.c
pfn.h
pfn_devs.c
pmem.c block: genhd: add 'groups' argument to device_add_disk 2018-09-28 08:30:28 -06:00
pmem.h libnvdimm, pmem: Restore page attributes when clearing errors 2018-08-20 09:22:45 -07:00
region.c
region_devs.c libnvdimm: Export max available extent 2018-07-25 14:11:43 -07:00