linux/drivers/s390
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>
History 2024-03-26 18:20:28 -04:00
..
block s390/dasd: fix double module refcount decrement 2024-03-26 18:20:28 -04:00
char s390/early: fix sclp_early_sccb variable lifetime 2023-03-10 09:32:53 +01:00
cio s390/cio: fix invalid -EBUSY on ccw_device_start 2024-03-01 13:26:31 +01:00
crypto s390/vfio-ap: fix sysfs status attribute for AP queue devices 2024-02-05 20:12:49 +00:00
net s390/qeth: Fix potential loss of L3-IP@ in case of network issues 2024-02-23 09:12:46 +01:00
scsi scsi: zfcp: Fix a double put in zfcp_port_enqueue() 2023-10-10 22:00:38 +02:00
virtio virtio: Revert "virtio: find_vqs() add arg sizes" 2022-08-16 01:40:24 -04:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00