Qiheng Lin 460e9bed82 s390/dasd: Fix potential memleak in dasd_eckd_init()
`dasd_reserve_req` is allocated before `dasd_vol_info_req`, and it
also needs to be freed before the error returns, just like the other
cases in this function.

Fixes: 9e12e54c7a8f ("s390/dasd: Handle out-of-space constraint")
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Link: https://lore.kernel.org/r/20221208133809.16796-1-linqiheng@huawei.com
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20230210000253.1644903-3-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-02-09 17:05:43 -07:00
..
2022-09-28 08:56:34 -06:00
2022-09-28 08:56:34 -06:00
2022-09-28 08:56:34 -06:00
2021-12-04 08:58:51 -08:00
2021-09-07 13:38:42 +02:00
2022-06-28 06:33:15 -06:00
2022-02-02 07:49:59 -07:00