mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
block: switch s390 tape_block and mg_disk to elevator_change()
Now that we have this API, switch the two in-kernel users to it.
Resolves an oops introduced by commit
1abec4fdbb.
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
5dd531a03a
commit
52cc2eef31
2 changed files with 2 additions and 4 deletions
|
|
@ -217,8 +217,7 @@ tapeblock_setup_device(struct tape_device * device)
|
|||
if (!blkdat->request_queue)
|
||||
return -ENOMEM;
|
||||
|
||||
elevator_exit(blkdat->request_queue->elevator);
|
||||
rc = elevator_init(blkdat->request_queue, "noop");
|
||||
rc = elevator_change(blkdat->request_queue, "noop");
|
||||
if (rc)
|
||||
goto cleanup_queue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue