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

Christoph Hellwig hch at infradead.org
Tue Jun 20 04:48:11 UTC 2023


On Mon, Jun 19, 2023 at 11:18:24PM +0200, Bean Huo wrote:
> From: Bean Huo <beanhuo at micron.com>
> 
> 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.



More information about the Ocfs2-devel mailing list