]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
blk-mq: Fix the blk_mq_tagset_busy_iter() documentation
authorBart Van Assche <bvanassche@acm.org>
Tue, 16 Sep 2025 20:40:43 +0000 (13:40 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 17 Sep 2025 13:26:29 +0000 (07:26 -0600)
Commit 2dd6532e9591 ("blk-mq: Drop 'reserved' arg of busy_tag_iter_fn")
removed the 'reserved' argument from tag iteration callback functions.
Bring the blk_mq_tagset_busy_iter() documentation in sync with that
change.

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: John Garry <john.g.garry@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-tag.c

index a63d21a4aab4f8b3b3ff1e12c35124b1ec295ae9..0602ca7f1e37ef7d59730610ee8739dc026a441b 100644 (file)
@@ -424,10 +424,9 @@ void blk_mq_all_tag_iter(struct blk_mq_tags *tags, busy_tag_iter_fn *fn,
  * blk_mq_tagset_busy_iter - iterate over all started requests in a tag set
  * @tagset:    Tag set to iterate over.
  * @fn:                Pointer to the function that will be called for each started
- *             request. @fn will be called as follows: @fn(rq, @priv,
- *             reserved) where rq is a pointer to a request. 'reserved'
- *             indicates whether or not @rq is a reserved request. Return
- *             true to continue iterating tags, false to stop.
+ *             request. @fn will be called as follows: @fn(rq, @priv) where
+ *             rq is a pointer to a request. Return true to continue iterating
+ *             tags, false to stop.
  * @priv:      Will be passed as second argument to @fn.
  *
  * We grab one request reference before calling @fn and release it after