aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-07-23 22:10:42 +0800
committerJens Axboe <axboe@kernel.dk>2019-08-12 08:15:36 -0600
commit73d9c8d4c0017e21e1ff519474ceb1450484dc9a (patch)
tree1d557ba1de029f9cb5025e204bd805beea4f0962 /block/blk-core.c
parentfloppy: fix usercopy direction (diff)
downloadlinux-dev-73d9c8d4c0017e21e1ff519474ceb1450484dc9a.tar.xz
linux-dev-73d9c8d4c0017e21e1ff519474ceb1450484dc9a.zip
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 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions