From: Bart Van Assche Date: Thu, 1 Aug 2019 22:39:55 +0000 (-0700) Subject: block: Fix a comment in blk_cleanup_queue() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=67ed8b738633f8c309cfdbfdf501e09d3759ce0c;p=linux.git block: Fix a comment in blk_cleanup_queue() Change a reference to the legacy block layer into a reference to blk-mq. Reviewed-by: Chaitanya Kulkarni Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: James Smart Cc: Ming Lei Cc: Jianchao Wang Cc: Dongli Zhang Signed-off-by: Bart Van Assche Signed-off-by: Jens Axboe --- diff --git a/block/blk-core.c b/block/blk-core.c index d0cc6e14d2f07..5878504a29afd 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -344,7 +344,8 @@ void blk_cleanup_queue(struct request_queue *q) /* * Drain all requests queued before DYING marking. Set DEAD flag to - * prevent that q->request_fn() gets invoked after draining finished. + * prevent that blk_mq_run_hw_queues() accesses the hardware queues + * after draining finished. */ blk_freeze_queue(q);