blk-mq: Fix the blk_mq_tagset_busy_iter() documentation
Commit 2dd6532e95 ("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>
pull/1354/merge
parent
da7b97ba0d
commit
0b507305a0
|
|
@ -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
|
* blk_mq_tagset_busy_iter - iterate over all started requests in a tag set
|
||||||
* @tagset: Tag set to iterate over.
|
* @tagset: Tag set to iterate over.
|
||||||
* @fn: Pointer to the function that will be called for each started
|
* @fn: Pointer to the function that will be called for each started
|
||||||
* request. @fn will be called as follows: @fn(rq, @priv,
|
* request. @fn will be called as follows: @fn(rq, @priv) where
|
||||||
* reserved) where rq is a pointer to a request. 'reserved'
|
* rq is a pointer to a request. Return true to continue iterating
|
||||||
* indicates whether or not @rq is a reserved request. Return
|
* tags, false to stop.
|
||||||
* true to continue iterating tags, false to stop.
|
|
||||||
* @priv: Will be passed as second argument to @fn.
|
* @priv: Will be passed as second argument to @fn.
|
||||||
*
|
*
|
||||||
* We grab one request reference before calling @fn and release it after
|
* We grab one request reference before calling @fn and release it after
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue