|
|
| version 1.397, 2007/02/07 02:50:13 | version 1.398, 2007/03/02 02:59:33 |
|---|---|
| Line 83 xfs_write_clear_setuid( | Line 83 xfs_write_clear_setuid( |
| } | } |
| xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); | xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); |
| xfs_trans_set_sync(tp); | xfs_trans_set_sync(tp); |
| error = xfs_trans_commit(tp, 0, NULL); | error = xfs_trans_commit(tp, 0); |
| xfs_iunlock(ip, XFS_ILOCK_EXCL); | xfs_iunlock(ip, XFS_ILOCK_EXCL); |
| return 0; | return 0; |
| } | } |
| Line 164 xfs_write_sync_logforce( | Line 164 xfs_write_sync_logforce( |
| xfs_trans_ihold(tp, ip); | xfs_trans_ihold(tp, ip); |
| xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); | xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); |
| xfs_trans_set_sync(tp); | xfs_trans_set_sync(tp); |
| error = xfs_trans_commit(tp, 0, NULL); | error = xfs_trans_commit(tp, 0); |
| xfs_iunlock(ip, XFS_ILOCK_EXCL); | xfs_iunlock(ip, XFS_ILOCK_EXCL); |
| } | } |
| } | } |