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

From: Jens Axboe
Date: Sat Oct 13 2007 - 06:10:46 EST


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@xxxxxxxxxx>

--
Jens Axboe

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