Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: d348499 ("blk-mq-sched: allow setting of default IO scheduler") Signed-off-by: zhengbin <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information