From bca9478b57390942a5ec6b194d62a7edd9004139 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 2 Sep 2008 09:25:21 +0200 Subject: [PATCH] --- yaml --- r: 110514 b: refs/heads/master c: 839e96afba87117befd39cf4e43f156edc8047a7 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/block/blk-core.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index b3b4c2a49fe4..f025aa07cd98 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 55dc7db70a73a3809a2334063c9b5b0d8ccebdaa +refs/heads/master: 839e96afba87117befd39cf4e43f156edc8047a7 diff --git a/trunk/block/blk-core.c b/trunk/block/blk-core.c index 5bf806adc770..f25eb9786d94 100644 --- a/trunk/block/blk-core.c +++ b/trunk/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)