diff options
author | Jens Axboe <axboe@fb.com> | 2017-02-14 18:16:41 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-14 18:16:41 +0300 |
commit | d1a987f35ebf859a771ac530e95a89933b6fcce8 (patch) | |
tree | 15b2ba0c3125623a5b2ed4fb48a5090ca58a6a1b /include/linux/cdrom.h | |
parent | c5c9b26ee5f1295c77d8f2ff5f804ed6c0b07cc4 (diff) | |
download | linux-d1a987f35ebf859a771ac530e95a89933b6fcce8.tar.xz |
elevator: fix loading wrong elevator type for blk-mq devices
The old elevator= boot parameter blindly attempts to load the
same scheduler for mq and !mq devices, leading to a crash if
we specify the wrong one.
Ensure that we only apply this boot parameter to old !mq devices.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/cdrom.h')
0 files changed, 0 insertions, 0 deletions