]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
blk-mq: Fix a comment in include/linux/blk-mq.h
authorBart Van Assche <bvanassche@acm.org>
Tue, 10 Mar 2020 04:26:16 +0000 (21:26 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Mar 2020 13:09:59 +0000 (07:09 -0600)
The 'hctx_list' member of struct blk_mq_hw_ctx is not a list head but
instead an entry in q->unused_hctx_list. Fix the comment above this
struct member.

Fixes: d386732bc142 ("blk-mq: fill header with kernel-doc")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Cc: André Almeida <andrealmeid@collabora.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-mq.h

index 11cfd6470b1a3081fcca14944c7df0cd14c748c6..31344d5f83e2efef968405c0fc2f32037b45a589 100644 (file)
@@ -162,7 +162,10 @@ struct blk_mq_hw_ctx {
        struct dentry           *sched_debugfs_dir;
 #endif
 
-       /** @hctx_list: List of all hardware queues. */
+       /**
+        * @hctx_list: if this hctx is not in use, this is an entry in
+        * q->unused_hctx_list.
+        */
        struct list_head        hctx_list;
 
        /**