xfs: Remove redundant error variable from xfs_growfs_data_private()
PATCH 1/1 xfs: Remove redundant error variable from xfs_growfs_data_private()
From: Jie Liu <[email protected]>
Commit eab4e633 "xfs: uncached buffer reads need to return an error".
Remove redundant error variable, using the function level error variable to store bp->b_error instead.
--- fs/xfs/xfs_fsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_fsops.c +1 -1
@@ -174,7 +174,7 @@ xfs_growfs_data_private(if (!bp)return EIO ;if (bp->b_error) { -int error = bp->b_error; + error = bp->b_error;xfs_buf_relse (bp);return error; }
Signature · 6 lines
1.7.9.5 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 8 lines · Jeff Liu
From: Jie Liu <[email protected]>
Commit
eab4e633"xfs: uncached buffer reads need to return an error".Remove redundant error variable, using the function level error variable to store
bp->b_errorinstead.Signed-off-by Jie Liu <[email protected]>
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Ben Myers
AppliedQuoted 8 lines · Jeff Liu
From: Jie Liu <[email protected]>
Commit
eab4e633"xfs: uncached buffer reads need to return an error".Remove redundant error variable, using the function level error variable to store
bp->b_errorinstead.Signed-off-by Jie Liu <[email protected]>
Applied.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs