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

2018-12-27 Thread Christoph Hellwig
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 Please take a close look at what could fail in xfs_trans_commit, and how those failures are logged inside the implement

[PATCH] xfs: add a check for xfs_trans_commit

2018-12-25 Thread Kangjie Lu
xfs_trans_commit could fails. The checks issues an error message upon its failure. Signed-off-by: Kangjie Lu --- fs/xfs/xfs_super.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index d3e6cd063688..8ec2e3c8e946 100644 --- a/fs/xf