aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/error-injection.h
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2019-07-22 22:12:36 +0800
committerJens Axboe <axboe@kernel.dk>2019-07-22 08:15:17 -0600
commit5d9e06d60eee95e021ffccf0d2c7ed800ae9dc14 (patch)
tree97cdecef1fbeaa5205e732ee8695f00d80806beb /include/linux/error-injection.h
parentio_uring: track io length in async_list based on bytes (diff)
downloadlinux-rng-5d9e06d60eee95e021ffccf0d2c7ed800ae9dc14.tar.xz
linux-rng-5d9e06d60eee95e021ffccf0d2c7ed800ae9dc14.zip
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>
Diffstat (limited to 'include/linux/error-injection.h')
0 files changed, 0 insertions, 0 deletions