projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac257b
)
blk-mq: remove legacy check in queue blk_freeze_queue()
author
Jens Axboe
<axboe@kernel.dk>
Fri, 12 Oct 2018 00:06:02 +0000
(18:06 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 7 Nov 2018 20:42:31 +0000
(13:42 -0700)
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
patch
|
blob
|
history
diff --git
a/block/blk-mq.c
b/block/blk-mq.c
index 4c82dc44d4d82d5674840e961a71a0a2dc9ee5e2..a58d2d953876755a8984b4c598561177cfd265d5 100644
(file)
--- a/
block/blk-mq.c
+++ b/
block/blk-mq.c
@@
-177,8
+177,6
@@
void blk_freeze_queue(struct request_queue *q)
* exported to drivers as the only user for unfreeze is blk_mq.
*/
blk_freeze_queue_start(q);
- if (!q->mq_ops)
- blk_drain_queue(q);
blk_mq_freeze_queue_wait(q);
}