Re: [PATCH] Reiser4: Drop 'size' argument from bio_endio and bi_end_io

Jens Axboe
2007-10-13T10:10:40Z

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