Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: fix elevator_get_by_features()
The lookup logic is broken - 'e' will never be NULL, even if the list is empty. Maintain lookup hit in a separate variable instead. Fixes: a0958ba ("block: Improve default elevator selection") Reported-by: Julia Lawall <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information