android_kernel_xiaomi_sm8350/drivers/s390/block
Gerald Schaefer 04f64b5756 [S390] dcssblk: fix race in dcssblk_add_store()
Concurrently adding the same segment may lead to duplicate device_register()
calls, which will trigger an error in kobject code:
"... don't try to register things with the same name in the same directory".
This patch adds a check to avoid this.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-08-21 19:46:42 +02:00
..
dasd_3990_erp.c [S390] cio: introduce fcx enabled scsw format 2008-07-14 10:02:07 +02:00
dasd_alias.c [S390] dasd: Add support for enhanced VM UID 2008-08-01 16:39:29 +02:00
dasd_devmap.c [S390] dasd: Add support for enhanced VM UID 2008-08-01 16:39:29 +02:00
dasd_diag.c [S390] dasd: use -EOPNOTSUPP instead of -ENOTSUPP 2008-07-17 17:22:10 +02:00
dasd_diag.h
dasd_eckd.c [S390] dasd: Add support for enhanced VM UID 2008-08-01 16:39:29 +02:00
dasd_eckd.h [S390] dasd: fix data size for PSF/PRSSD command 2008-08-21 19:46:41 +02:00
dasd_eer.c [S390] drivers/s390: Use an IS_ERR test rather than a NULL test 2008-08-21 19:46:39 +02:00
dasd_erp.c [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
dasd_fba.c [S390] dasd: Fix cleanup in dasd_{fba,diag}_check_characteristics(). 2008-07-17 17:22:08 +02:00
dasd_fba.h
dasd_genhd.c [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
dasd_int.h [S390] dasd: Add support for enhanced VM UID 2008-08-01 16:39:29 +02:00
dasd_ioctl.c [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
dasd_proc.c s390: use non-racy method for proc entries creation 2008-04-29 08:06:21 -07:00
dasd.c [S390] cio: call ccw driver notify function with lock held 2008-08-21 19:46:41 +02:00
dcssblk.c [S390] dcssblk: fix race in dcssblk_add_store() 2008-08-21 19:46:42 +02:00
Kconfig [S390] dasd: fix double elevator_exit call when deadline iosched fails to load 2008-04-17 07:46:55 +02:00
Makefile [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
xpram.c [S390] Cleanup xpram printk messages. 2008-07-14 10:02:18 +02:00