Searched hist:"460 e9bed" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_eckd.c | 460e9bed Thu Feb 09 18:02:53 CST 2023 Qiheng Lin <linqiheng@huawei.com> 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>
|