blk-mq: decouble blk-mq freezing from generic bypassing
[deliverable/linux.git] / block / blk-core.c
index 0d0bdd65b2d7d3fcd96f6c6d15289ef50ad6cdc7..c359d72e9d76f24a44b7c4b6b8c36c6677436191 100644 (file)
@@ -514,7 +514,7 @@ void blk_cleanup_queue(struct request_queue *q)
         * prevent that q->request_fn() gets invoked after draining finished.
         */
        if (q->mq_ops) {
-               blk_mq_drain_queue(q);
+               blk_mq_freeze_queue(q);
                spin_lock_irq(lock);
        } else {
                spin_lock_irq(lock);
This page took 0.024656 seconds and 5 git commands to generate.