android_kernel_xiaomi_sm8350/drivers/s390/block
Stefan Haberland 589c74d507 [S390] dasd: fix refcounting.
The function dasd_device_from_cdev returns a reference to the dasd
device and increases the refcount by one. If an exception occurs,
the refcount was not decreased in all cases
e.g. in dasd_discipline_show.
Prevent the offline processing from hang by correcting two functions
to decrease the refcount even if an error occured.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-02-26 22:37:32 +01:00
..
dasd_3990_erp.c [S390] dasd: improve error recovery for internal I/O 2009-12-07 12:51:34 +01:00
dasd_alias.c [S390] dasd: PTR_ERR return of wrong pointer in 2009-12-18 17:43:31 +01:00
dasd_devmap.c [S390] dasd: fix refcounting. 2010-02-26 22:37:32 +01:00
dasd_diag.c [S390] dasd: move dasd-diag kmsg to dasd 2009-12-18 17:43:31 +01:00
dasd_diag.h
dasd_eckd.c [S390] dasd: fix possible NULL pointer errors 2010-01-27 10:12:48 +01:00
dasd_eckd.h [S390] dasd: let device initialization wait for LCU setup 2009-12-07 12:51:35 +01:00
dasd_eer.c [S390] dasd: remove BKL from extended error reporting code 2009-12-07 12:51:39 +01:00
dasd_erp.c [S390] dasd: fix message naming 2009-09-11 10:29:42 +02:00
dasd_fba.c [S390] dasd: remove strings from s390dbf 2009-12-07 12:51:35 +01:00
dasd_fba.h
dasd_genhd.c [S390] dasd: fix online/offline race 2010-02-26 22:37:32 +01:00
dasd_int.h [S390] dasd: fix online/offline race 2010-02-26 22:37:32 +01:00
dasd_ioctl.c [S390] dasd: fix possible NULL pointer errors 2010-01-27 10:12:48 +01:00
dasd_proc.c [S390] dasd: fix possible NULL pointer errors 2010-01-27 10:12:48 +01:00
dasd.c [S390] dasd: fix refcounting. 2010-02-26 22:37:32 +01:00
dcssblk.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
Kconfig
Makefile
xpram.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00