“b9a6b8f92f6feebf40609e4f5f22a3c0404afb60”上不存在“io_uring/io_uring.c”
-
由 Wei Yongjun 提交于
'blks' is malloced in pblk_bb_discovery() and should be freed before leaving from the nvm_get_tgt_bb_tbl() error handling cases, otherwise it will cause memory leak. Also skip assign blks to rlun->bb_list when error. Fixes: a4bd217b ("lightnvm: physical block device (pblk) target") Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Reviewed-by: NJavier González <javier@cnexlabs.com> Signed-off-by: NJens Axboe <axboe@fb.com>
5136a4fd