diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-08-01 15:39:55 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-08-04 21:41:29 -0600 |
commit | 67ed8b738633f8c309cfdbfdf501e09d3759ce0c (patch) | |
tree | cf34cae15938529cc29cfb410054ca53599b3b9d /block/blk-core.c | |
parent | 012d4a652ca172d93315cb69f2adf7df37ea77e6 (diff) | |
download | linux-67ed8b738633f8c309cfdbfdf501e09d3759ce0c.tar.gz linux-67ed8b738633f8c309cfdbfdf501e09d3759ce0c.tar.bz2 linux-67ed8b738633f8c309cfdbfdf501e09d3759ce0c.zip |
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 <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>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index d0cc6e14d2f0..5878504a29af 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); |