diff options
Diffstat (limited to 'fs/xfs/xfs_utils.c')
-rw-r--r-- | fs/xfs/xfs_utils.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_utils.c b/fs/xfs/xfs_utils.c index 9014d7e44488..948b0c892e96 100644 --- a/fs/xfs/xfs_utils.c +++ b/fs/xfs/xfs_utils.c | |||
@@ -222,7 +222,7 @@ xfs_dir_ialloc( | |||
222 | } | 222 | } |
223 | 223 | ||
224 | ntp = xfs_trans_dup(tp); | 224 | ntp = xfs_trans_dup(tp); |
225 | code = xfs_trans_commit(tp, 0, NULL); | 225 | code = xfs_trans_commit(tp, 0); |
226 | tp = ntp; | 226 | tp = ntp; |
227 | if (committed != NULL) { | 227 | if (committed != NULL) { |
228 | *committed = 1; | 228 | *committed = 1; |
@@ -460,8 +460,7 @@ xfs_truncate_file( | |||
460 | XFS_TRANS_ABORT); | 460 | XFS_TRANS_ABORT); |
461 | } else { | 461 | } else { |
462 | xfs_ichgtime(ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG); | 462 | xfs_ichgtime(ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG); |
463 | error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, | 463 | error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); |
464 | NULL); | ||
465 | } | 464 | } |
466 | xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); | 465 | xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); |
467 | 466 | ||