Skip to content

Commit

Permalink
block: update comment on end_request()
Browse files Browse the repository at this point in the history
It refers to functions that no longer exist after the IO completion
changes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Jens Axboe committed Oct 9, 2008
1 parent 55dc7db commit 839e96a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1780,9 +1780,9 @@ EXPORT_SYMBOL(end_dequeued_request);
* they have a residual value to account for. For that case this function
* isn't really useful, unless the residual just happens to be the
* full current segment. In other words, don't use this function in new
* code. Either use end_request_completely(), or the
* end_that_request_chunk() (along with end_that_request_last()) for
* partial completions.
* code. Use blk_end_request() or __blk_end_request() to end partial parts
* of a request, or end_dequeued_request() and end_queued_request() to
* completely end IO on a dequeued/queued request.
*
**/
void end_request(struct request *req, int uptodate)
Expand Down

0 comments on commit 839e96a

Please sign in to comment.