diff options
author | 2019-09-06 07:02:31 -0600 | |
---|---|---|
committer | 2019-09-06 07:02:31 -0600 | |
commit | a26142559c2be8c0975b941e3110d23a9e552ce5 (patch) | |
tree | 013121f3e988d1787cb5956701ff407bffbb1124 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sd: Set ELEVATOR_F_ZBD_SEQ_WRITE for ZBC disks (diff) | |
download | linux-dev-a26142559c2be8c0975b941e3110d23a9e552ce5.tar.xz linux-dev-a26142559c2be8c0975b941e3110d23a9e552ce5.zip |
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: a0958ba7fcdc ("block: Improve default elevator selection")
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions