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

Bean Huo huobean at gmail.com
Tue Jun 20 10:59:42 UTC 2023


On Mon, 2023-06-19 at 21:48 -0700, Christoph Hellwig wrote:
> 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.

No problem, I will merge them together, thanks.

Kind regards,
Bean




More information about the Ocfs2-devel mailing list