Skip to content

Commit

Permalink
block: Fix rq_qos_wait() kernel-doc header
Browse files Browse the repository at this point in the history
Add documentation for the @rqw argument and change " - " into ": ".

Fixes: 84f6032 ("block: add rq_qos_wait to rq_qos") # v5.0-rc1~52^2~140.
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
bvanassche authored and axboe committed May 31, 2019
1 parent 0542cd5 commit 83826a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions block/blk-rq-qos.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,10 @@ static int rq_qos_wake_function(struct wait_queue_entry *curr,

/**
* rq_qos_wait - throttle on a rqw if we need to
* @private_data - caller provided specific data
* @acquire_inflight_cb - inc the rqw->inflight counter if we can
* @cleanup_cb - the callback to cleanup in case we race with a waker
* @rqw: rqw to throttle on
* @private_data: caller provided specific data
* @acquire_inflight_cb: inc the rqw->inflight counter if we can
* @cleanup_cb: the callback to cleanup in case we race with a waker
*
* This provides a uniform place for the rq_qos users to do their throttling.
* Since you can end up with a lot of things sleeping at once, this manages the
Expand Down

0 comments on commit 83826a5

Please sign in to comment.