aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/blk-mq.h
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2020-03-09 21:26:16 -0700
committerJens Axboe <axboe@kernel.dk>2020-03-10 07:09:59 -0600
commit2dd209f00fc5a1caafa493066c7cd692fd2fd57c (patch)
tree59c4abc73aac91946ef44b72357025d382cfa096 /include/linux/blk-mq.h
parentLinux 5.6-rc5 (diff)
downloadwireguard-linux-2dd209f00fc5a1caafa493066c7cd692fd2fd57c.tar.xz
wireguard-linux-2dd209f00fc5a1caafa493066c7cd692fd2fd57c.zip
blk-mq: Fix a comment in include/linux/blk-mq.h
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>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r--include/linux/blk-mq.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index 11cfd6470b1a..31344d5f83e2 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -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;
/**