WSL2-Linux-Kernel/drivers/s390/block
Miroslav Franc edbdb0d941 s390/dasd: fix double module refcount decrement
[ Upstream commit c3116e62ddeff79cae342147753ce596f01fcf06 ]

Once the discipline is associated with the device, deleting the device
takes care of decrementing the module's refcount.  Doing it manually on
this error path causes refcount to artificially decrease on each error
while it should just stay the same.

Fixes: c020d722b1 ("s390/dasd: fix panic during offline processing")
Signed-off-by: Miroslav Franc <mfranc@suse.cz>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20240209124522.3697827-3-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:21:14 -04:00
..
Kconfig
Makefile
dasd.c s390/dasd: fix double module refcount decrement 2024-03-26 18:21:14 -04:00
dasd_3990_erp.c
dasd_alias.c
dasd_devmap.c s390/dasd: add copy pair setup 2024-03-26 18:21:14 -04:00
dasd_diag.c
dasd_diag.h
dasd_eckd.c s390/dasd: add copy pair setup 2024-03-26 18:21:14 -04:00
dasd_eckd.h s390/dasd: add copy pair setup 2024-03-26 18:21:14 -04:00
dasd_eer.c s390/dasd: add autoquiesce feature 2024-03-26 18:21:14 -04:00
dasd_erp.c
dasd_fba.c
dasd_fba.h
dasd_genhd.c
dasd_int.h s390/dasd: add autoquiesce feature 2024-03-26 18:21:14 -04:00
dasd_ioctl.c
dasd_proc.c
dcssblk.c
scm_blk.c
scm_blk.h
scm_drv.c