Re: [PATCH v2 2/5] ext4: No need to check return value of block_commit_write()

From: Christoph Hellwig
Date: Tue Jun 20 2023 - 00:48:36 EST


On Mon, Jun 19, 2023 at 11:18:24PM +0200, Bean Huo wrote:
> From: Bean Huo <beanhuo@xxxxxxxxxx>
>
> Remove unnecessary check on the return value of block_commit_write(),
> because it always returns 0.

Dropping the error check before the function signature is changes is
really odd. I'd suggest to merge this and the following patches into
a single one.