Commit 839e96af authored by Jens Axboe's avatar Jens Axboe

block: update comment on end_request()

It refers to functions that no longer exist after the IO completion
changes.
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 55dc7db7
...@@ -1780,9 +1780,9 @@ EXPORT_SYMBOL(end_dequeued_request); ...@@ -1780,9 +1780,9 @@ EXPORT_SYMBOL(end_dequeued_request);
* they have a residual value to account for. For that case this function * 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 * 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 * full current segment. In other words, don't use this function in new
* code. Either use end_request_completely(), or the * code. Use blk_end_request() or __blk_end_request() to end partial parts
* end_that_request_chunk() (along with end_that_request_last()) for * of a request, or end_dequeued_request() and end_queued_request() to
* partial completions. * completely end IO on a dequeued/queued request.
* *
**/ **/
void end_request(struct request *req, int uptodate) void end_request(struct request *req, int uptodate)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment