Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elevator: fix unnecessary put of elevator in failure case
We already checked that e is NULL, so no point in calling elevator_put() to free it. Reported-by: Dan Carpenter <[email protected]> Fixes: dc877dbd088f ("blk-mq-sched: add framework for MQ capable IO schedulers") Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information