From: Jens Axboe Date: Tue, 2 Sep 2008 07:25:21 +0000 (+0200) Subject: block: update comment on end_request() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=839e96afba87117befd39cf4e43f156edc8047a7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git block: update comment on end_request() It refers to functions that no longer exist after the IO completion changes. Signed-off-by: Jens Axboe --- 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); * 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)