android_kernel_xiaomi_sm7250/drivers/s390
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
..
block block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
char s390/zcore: fix race when reading from hardware system area 2022-08-25 11:15:23 +02:00
cio vfio/ccw: Do not change FSM state in subchannel event 2022-08-25 11:15:21 +02:00
crypto s390/zcrypt: Fix ZCRYPT_PERDEV_REQCNT ioctl 2020-10-01 13:14:54 +02:00
net s390/lcs: fix variable dereferenced before check 2022-05-18 09:42:48 +02:00
scsi scsi: zfcp: Fix missing auto port scan and thus missing target ports 2022-08-25 11:15:27 +02:00
virtio virtio/s390: implement virtio-ccw revision 2 correctly 2021-03-07 12:18:53 +01:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00