summaryrefslogtreecommitdiff
path: root/drivers/scsi/sr.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-02-14 08:16:41 -0700
committerJens Axboe <axboe@fb.com>2017-02-14 08:16:41 -0700
commitd1a987f35ebf859a771ac530e95a89933b6fcce8 (patch)
tree15b2ba0c3125623a5b2ed4fb48a5090ca58a6a1b /drivers/scsi/sr.c
parentc5c9b26ee5f1295c77d8f2ff5f804ed6c0b07cc4 (diff)
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 'drivers/scsi/sr.c')
0 files changed, 0 insertions, 0 deletions