lkml.org 
[lkml]   [2007]   [Oct]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 13 Oct 2007 12:10:25 +0200
FromJens Axboe <>
SubjectRe: [PATCH] Reiser4: Drop 'size' argument from bio_endio and bi_end_io
On Sat, Oct 13 2007, Laurent Riffard wrote:
> Reiser4: Drop 'size' argument from bio_endio and bi_end_io
> 
> This patch pushes into Reiser4 the changes introduced by 
> commit 6712ecf8f648118c3363c142196418f89a510b90:
> 
> 	As bi_end_io is only called once when the request is complete,
> 	the 'size' argument is now redundant.  Remove it.
> 
> 	Now there is no need for bio_endio to subtract the size completed
> 	from bi_size.  So don't do that either.
> 
> 	While we are at it, change bi_end_io to return void.

Looks correct to me.

Acked-by: Jens Axboe <jens.axboe@oracle.com>

-- 
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-10-13 12:13    [from the cache]
©2003-2008