From: Bart Van Assche Date: Tue, 16 Sep 2025 20:40:43 +0000 (-0700) Subject: blk-mq: Fix the blk_mq_tagset_busy_iter() documentation X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b507305a08c134722f363de6fe6f1ba84e313b7;p=thirdparty%2Fkernel%2Fstable.git blk-mq: Fix the blk_mq_tagset_busy_iter() documentation 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 Cc: Christoph Hellwig Cc: Ming Lei Cc: John Garry Signed-off-by: Bart Van Assche Reviewed-by: Ming Lei Reviewed-by: Martin K. Petersen Signed-off-by: Jens Axboe --- diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c index a63d21a4aab4f..0602ca7f1e37e 100644 --- a/block/blk-mq-tag.c +++ b/block/blk-mq-tag.c @@ -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