linux-stable/drivers/s390/block
Miroslav Franc ad999aa181 s390/dasd: fix double module refcount decrement
[ Upstream commit c3116e62dd ]

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:20:28 -04:00
..
Kconfig
Makefile
dasd.c s390/dasd: fix double module refcount decrement 2024-03-26 18:20:28 -04:00
dasd_3990_erp.c s390/dasd: use correct number of retries for ERP requests 2023-09-13 09:42:21 +02:00
dasd_alias.c
dasd_devmap.c s390/dasd: fix string length handling 2023-09-13 09:43:03 +02:00
dasd_diag.c
dasd_diag.h
dasd_eckd.c s390/dasd: fix string length handling 2023-09-13 09:43:03 +02:00
dasd_eckd.h
dasd_eer.c s390/dasd: add autoquiesce feature 2024-03-26 18:20:28 -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:20:28 -04:00
dasd_ioctl.c s390/dasd: fix hanging device after quiesce/resume 2023-08-03 10:24:16 +02:00
dasd_proc.c
dcssblk.c s390/dcssblk: fix kernel crash with list_add corruption 2023-09-13 09:43:03 +02:00
scm_blk.c s390/scm: fix virtual vs physical address confusion 2024-01-20 11:50:08 +01:00
scm_blk.h
scm_drv.c