aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/blk-mq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 9bc075335d06..62082c5daae7 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -1844,6 +1844,7 @@ void blk_mq_free_queue(struct request_queue *q)
1844 blk_mq_del_queue_tag_set(q); 1844 blk_mq_del_queue_tag_set(q);
1845 1845
1846 queue_for_each_hw_ctx(q, hctx, i) { 1846 queue_for_each_hw_ctx(q, hctx, i) {
1847 blk_mq_tag_idle(hctx);
1847 kfree(hctx->ctxs); 1848 kfree(hctx->ctxs);
1848 blk_mq_unregister_cpu_notifier(&hctx->cpu_notifier); 1849 blk_mq_unregister_cpu_notifier(&hctx->cpu_notifier);
1849 if (q->mq_ops->exit_hctx) 1850 if (q->mq_ops->exit_hctx)