diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-09-02 03:25:21 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 02:56:11 -0400 |
commit | 839e96afba87117befd39cf4e43f156edc8047a7 (patch) | |
tree | ae091a3a8ed386e080cd18569abc4335c1adde84 /block | |
parent | 55dc7db70a73a3809a2334063c9b5b0d8ccebdaa (diff) |
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>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 5bf806adc770..f25eb9786d94 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1780,9 +1780,9 @@ EXPORT_SYMBOL(end_dequeued_request); | |||
1780 | * they have a residual value to account for. For that case this function | 1780 | * they have a residual value to account for. For that case this function |
1781 | * isn't really useful, unless the residual just happens to be the | 1781 | * isn't really useful, unless the residual just happens to be the |
1782 | * full current segment. In other words, don't use this function in new | 1782 | * full current segment. In other words, don't use this function in new |
1783 | * code. Either use end_request_completely(), or the | 1783 | * code. Use blk_end_request() or __blk_end_request() to end partial parts |
1784 | * end_that_request_chunk() (along with end_that_request_last()) for | 1784 | * of a request, or end_dequeued_request() and end_queued_request() to |
1785 | * partial completions. | 1785 | * completely end IO on a dequeued/queued request. |
1786 | * | 1786 | * |
1787 | **/ | 1787 | **/ |
1788 | void end_request(struct request *req, int uptodate) | 1788 | void end_request(struct request *req, int uptodate) |