History

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.

Bart Van Assche committed 6 years ago

Commit 2dd209f1 parent 2c523b31 file · +4 −1Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/blk-mq.h+4−1
@@ -162,7 +162,10 @@ struct blk_mq_hw_ctx { · 161 unmodified lines
162162 struct dentry *sched_debugfs_dir;
163163 #endif
164164
165− /** @hctx_list: List of all hardware queues. */
165+ /**
166+ * @hctx_list: if this hctx is not in use, this is an entry in
167+ * q->unused_hctx_list.
168+ */
166169 struct list_head hctx_list;
167170
168171 /**