-
由 Wei Yongjun 提交于
memory malloced in bch_cached_dev_run() and should be freed before leaving from the error handling cases, otherwise it will cause memory leak. Fixes: 0b13efec ("bcache: add return value check to bch_cached_dev_run()") Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Signed-off-by: NColy Li <colyli@suse.de> Signed-off-by: NJens Axboe <axboe@kernel.dk>
5d9e06d6