diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-09-02 09:25:21 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-09-11 14:52:28 +0200 |
commit | 2aa4b501fa3c3a909c4ac1172c28fb40906d3fe5 (patch) | |
tree | 99ef2baa07d6dc300e8c54a26dacea9b2a2ceddd /block | |
parent | e87a16e82dba792577359a2fea5c9bc0fcd660cc (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 ff4f050ea79f..c9acc87f09c9 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -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) |