android_kernel_xiaomi_sm7250/drivers/nvme/host
Hannes Reinecke 54399d7eb2 block: genhd: add 'groups' argument to device_add_disk
commit fef912bf860e8e7e48a2bfb978a356bba743a8b7 upstream.

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>
Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2022-11-12 11:22:42 +00:00
..
core.c block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
fabrics.c nvme-fabrics: decode host pathing error for connect 2021-06-16 11:54:58 +02:00
fabrics.h nvme: if_ready checks to fail io to deleting controller 2018-07-24 13:44:40 +02:00
fault_inject.c
fc.c nvme-fc: fail new connections to a deleted host or remote port 2020-10-07 08:00:07 +02:00
Kconfig IB: Revert "remove redundant INFINIBAND kconfig dependencies" 2018-05-28 10:40:16 -06:00
lightnvm.c Revert "nvme: register ns_id attributes as default sysfs groups" 2021-03-11 17:13:50 +01:00
Makefile
multipath.c block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
nvme.h Revert "nvme: register ns_id attributes as default sysfs groups" 2021-03-11 17:13:50 +01:00
pci.c nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags 2022-06-14 16:59:17 +02:00
rdma.c nvme-rdma: fix possible use-after-free in transport error_recovery work 2022-02-23 11:58:38 +01:00
trace.c nvme: add disk name to trace events 2018-07-24 15:55:48 +02:00
trace.h nvme: add disk name to trace events 2018-07-24 15:55:48 +02:00