projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: do more work in elevator_exit
[linux-block.git]
/
block
/
genhd.c
diff --git
a/block/genhd.c
b/block/genhd.c
index 73705a749ea9291816f6679fffba06ad488fcecc..857e0a54da7dd149d32b0154a3dc890b87d361b2 100644
(file)
--- a/
block/genhd.c
+++ b/
block/genhd.c
@@
-1115,10
+1115,7
@@
static void disk_release_mq(struct request_queue *q)
* cgroup controller.
*/
if (q->elevator) {
- ioc_clear_queue(q);
-
mutex_lock(&q->sysfs_lock);
- blk_mq_sched_free_rqs(q);
elevator_exit(q);
mutex_unlock(&q->sysfs_lock);
}