projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: don't call ioc_exit_icq() with the queue lock held for blk-mq
[linux-block.git]
/
block
/
elevator.c
diff --git
a/block/elevator.c
b/block/elevator.c
index ac1c9f481a9895525b98601cf96837fd5b4015b6..01139f549b5be73047f346153f5b8fedcb23b3d0 100644
(file)
--- a/
block/elevator.c
+++ b/
block/elevator.c
@@
-983,9
+983,7
@@
static int elevator_switch(struct request_queue *q, struct elevator_type *new_e)
if (old_registered)
elv_unregister_queue(q);
- spin_lock_irq(q->queue_lock);
ioc_clear_queue(q);
- spin_unlock_irq(q->queue_lock);
}
/* allocate, init and register new elevator */