Skip to content

Commit 839e96a

Browse files
author
Jens Axboe
committed
block: update comment on end_request()
It refers to functions that no longer exist after the IO completion changes. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
1 parent 55dc7db commit 839e96a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎block/blk-core.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,9 +1780,9 @@ EXPORT_SYMBOL(end_dequeued_request);
17801780
* they have a residual value to account for. For that case this function
17811781
* isn't really useful, unless the residual just happens to be the
17821782
* full current segment. In other words, don't use this function in new
1783-
* code. Either use end_request_completely(), or the
1784-
* end_that_request_chunk() (along with end_that_request_last()) for
1785-
* partial completions.
1783+
* code. Use blk_end_request() or __blk_end_request() to end partial parts
1784+
* of a request, or end_dequeued_request() and end_queued_request() to
1785+
* completely end IO on a dequeued/queued request.
17861786
*
17871787
**/
17881788
void end_request(struct request *req, int uptodate)

0 commit comments

Comments
 (0)