Home
last modified time | relevance | path

Searched hist:"5 d9e06d60eee95e021ffccf0d2c7ed800ae9dc14" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/bcache/
H A Dsuper.cdiff 5d9e06d60eee95e021ffccf0d2c7ed800ae9dc14 Mon Jul 22 09:12:36 CDT 2019 Wei Yongjun <weiyongjun1@huawei.com> bcache: fix possible memory leak in bch_cached_dev_run()

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: 0b13efecf5f2 ("bcache: add return value check to bch_cached_dev_run()")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>