Re: [PATCH] xfs: add a check for xfs_trans_commit

From: Christoph Hellwig
Date: Thu Dec 27 2018 - 03:07:42 EST


On Wed, Dec 26, 2018 at 12:05:16AM -0600, Kangjie Lu wrote:
> xfs_trans_commit could fails. The checks issues an error message upon
> its failure.
>
> Signed-off-by: Kangjie Lu <kjlu@xxxxxxx>

Please take a close look at what could fail in xfs_trans_commit, and how
those failures are logged inside the implementation.