diff options
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index 748b16aff45a..20c53666cb4b 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -1028,6 +1028,8 @@ __xfs_trans_roll( | |||
1028 | struct xfs_trans_res tres; | 1028 | struct xfs_trans_res tres; |
1029 | int error; | 1029 | int error; |
1030 | 1030 | ||
1031 | *committed = 0; | ||
1032 | |||
1031 | /* | 1033 | /* |
1032 | * Ensure that the inode is always logged. | 1034 | * Ensure that the inode is always logged. |
1033 | */ | 1035 | */ |
@@ -1082,6 +1084,6 @@ xfs_trans_roll( | |||
1082 | struct xfs_trans **tpp, | 1084 | struct xfs_trans **tpp, |
1083 | struct xfs_inode *dp) | 1085 | struct xfs_inode *dp) |
1084 | { | 1086 | { |
1085 | int committed = 0; | 1087 | int committed; |
1086 | return __xfs_trans_roll(tpp, dp, &committed); | 1088 | return __xfs_trans_roll(tpp, dp, &committed); |
1087 | } | 1089 | } |