Commit edbdb0d9 authored by Miroslav Franc's avatar Miroslav Franc Committed by Sasha Levin
Browse files

s390/dasd: fix double module refcount decrement



[ Upstream commit c3116e62 ]

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: c020d722 ("s390/dasd: fix panic during offline processing")
Signed-off-by: default avatarMiroslav Franc <mfranc@suse.cz>
Signed-off-by: default avatarJan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: default avatarStefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20240209124522.3697827-3-sth@linux.ibm.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bb126ed2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment