aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_aops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_aops.c')
-rw-r--r--fs/xfs/xfs_aops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c
index a82c83707324..1269434ceec1 100644
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@ -116,7 +116,7 @@ xfs_setfilesize_trans_alloc(
116 116
117 tp = xfs_trans_alloc(mp, XFS_TRANS_FSYNC_TS); 117 tp = xfs_trans_alloc(mp, XFS_TRANS_FSYNC_TS);
118 118
119 error = xfs_trans_reserve(tp, 0, XFS_FSYNC_TS_LOG_RES(mp), 0, 0, 0); 119 error = xfs_trans_reserve(tp, &M_RES(mp)->tr_fsyncts, 0, 0);
120 if (error) { 120 if (error) {
121 xfs_trans_cancel(tp, 0); 121 xfs_trans_cancel(tp, 0);
122 return error; 122 return error;