linux-stable/drivers/s390/block
Miroslav Franc ec09bcab32 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:19:17 -04:00
..
Kconfig dax: remove CONFIG_DAX_DRIVER 2021-12-04 08:58:51 -08:00
Makefile
dasd.c s390/dasd: fix double module refcount decrement 2024-03-26 18:19:17 -04:00
dasd_3990_erp.c s390/dasd: print copy pair message only for the correct error 2023-07-24 13:05:29 -06:00
dasd_alias.c s390/dasd: sort out physical vs virtual pointers usage 2023-02-09 17:05:43 -07:00
dasd_devmap.c s390/dasd: fix string length handling 2023-09-01 07:47:43 -06:00
dasd_diag.c s390: include linux/io.h instead of asm/io.h 2023-07-03 11:19:40 +02:00
dasd_diag.h
dasd_eckd.c s390/dasd: fix string length handling 2023-09-01 07:47:43 -06:00
dasd_eckd.h s390/dasd: add device ping attribute 2022-09-21 08:32:51 -06:00
dasd_eer.c s390/dasd: add autoquiesce feature 2023-04-11 19:53:08 -06:00
dasd_erp.c s390/dasd: handle request magic consistently as unsigned int 2021-10-20 08:10:41 -06:00
dasd_fba.c s390: include linux/io.h instead of asm/io.h 2023-07-03 11:19:40 +02:00
dasd_fba.h
dasd_genhd.c block: replace fmode_t with a block-specific type for block open flags 2023-06-12 08:04:05 -06:00
dasd_int.h s390/dasd: fix string length handling 2023-09-01 07:47:43 -06:00
dasd_ioctl.c s390/dasd: fix hanging device after quiesce/resume 2023-07-24 13:05:29 -06:00
dasd_proc.c
dcssblk.c s390/dcssblk: fix lockdep warning 2023-08-30 11:03:27 +02:00
scm_blk.c s390/scm: fix virtual vs physical address confusion 2024-01-20 11:51:44 +01:00
scm_blk.h block: remove genhd.h 2022-02-02 07:49:59 -07:00
scm_drv.c