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.
Unified · Split
| @@ -162,7 +162,10 @@ struct blk_mq_hw_ctx { · 161 unmodified lines | |||
| 162 | struct dentry *sched_debugfs_dir; | 162 | struct dentry *sched_debugfs_dir; |
| 163 | #endif | 163 | #endif |
| 164 | 164 | ||
| 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 | */ | ||
| 166 | struct list_head hctx_list; | 169 | struct list_head hctx_list; |
| 167 | 170 | ||
| 168 | /** | 171 | /** |