]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
block: Fix a comment in blk_cleanup_queue()
authorBart Van Assche <bvanassche@acm.org>
Thu, 1 Aug 2019 22:39:55 +0000 (15:39 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Aug 2019 03:41:29 +0000 (21:41 -0600)
Change a reference to the legacy block layer into a reference to blk-mq.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Hannes Reinecke <hare@suse.com>
Cc: James Smart <james.smart@broadcom.com>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Jianchao Wang <jianchao.w.wang@oracle.com>
Cc: Dongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c

index d0cc6e14d2f0748e91001d770cbebfa091066889..5878504a29afd1e6a8a1f0f88b2b204bf32850d9 100644 (file)
@@ -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);