|
|
| version 1.72, 2006/06/15 03:58:11 | version 1.73, 2007/03/02 02:59:33 |
|---|---|
| Line 222 xfs_dir_ialloc( | Line 222 xfs_dir_ialloc( |
| } | } |
| ntp = xfs_trans_dup(tp); | ntp = xfs_trans_dup(tp); |
| code = xfs_trans_commit(tp, 0, NULL); | code = xfs_trans_commit(tp, 0); |
| tp = ntp; | tp = ntp; |
| if (committed != NULL) { | if (committed != NULL) { |
| *committed = 1; | *committed = 1; |
| Line 460 xfs_truncate_file( | Line 460 xfs_truncate_file( |
| XFS_TRANS_ABORT); | XFS_TRANS_ABORT); |
| } else { | } else { |
| xfs_ichgtime(ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG); | xfs_ichgtime(ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG); |
| error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, | error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); |
| NULL); | |
| } | } |
| xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); | xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); |