TencentOS-kernel/arch
Kaixu Xia 2eda7fb569 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>
2022-06-13 10:40:21 +08:00
..
alpha Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
arc Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
arm another typo 2020-03-11 16:00:16 +08:00
arm64 arm64/init: Fix crashkernel parse build error 2020-01-02 12:24:04 +08:00
blackfin Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
c6x Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
cris Fixed typo in thread_info.h (#16) 2020-07-02 14:46:02 +08:00
frv Fixed typo in thread_info.h (#16) 2020-07-02 14:46:02 +08:00
h8300 Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
hexagon Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
ia64 Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
m32r Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
m68k Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
metag Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
microblaze Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
mips Fixed typo in thread_info.h (#16) 2020-07-02 14:46:02 +08:00
mn10300 Fixed typo in thread_info.h (#16) 2020-07-02 14:46:02 +08:00
nios2 Fixed typo in thread_info.h (#16) 2020-07-02 14:46:02 +08:00
openrisc Fixed typo in thread_info.h (#16) 2020-07-02 14:46:02 +08:00
parisc Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
powerpc Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
s390 Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
score Fixed typo in thread_info.h (#16) 2020-07-02 14:46:02 +08:00
sh Fixed typo: 'swtich' in irq.c 2020-02-16 21:52:07 +08:00
sparc Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
tile Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
um block: genhd: add 'groups' argument to device_add_disk 2022-06-13 10:40:21 +08:00
unicore32 Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
x86 sched: /proc/cpuinfo in docker base on cpu quota 2020-07-16 14:59:05 +08:00
xtensa Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
.gitignore Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
Kconfig Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00