diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-07-23 22:10:42 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-08-12 08:15:36 -0600 |
commit | 73d9c8d4c0017e21e1ff519474ceb1450484dc9a (patch) | |
tree | 1d557ba1de029f9cb5025e204bd805beea4f0962 /COPYING | |
parent | 52f6f9d74f31078964ca1574f7bb612da7877ac8 (diff) | |
download | linux-73d9c8d4c0017e21e1ff519474ceb1450484dc9a.tar.bz2 |
blk-mq: Fix memory leak in blk_mq_init_allocated_queue error handling
If blk_mq_init_allocated_queue->elevator_init_mq fails, need to release
the previously requested resources.
Fixes: d34849913819 ("blk-mq-sched: allow setting of default IO scheduler")
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions