diff options
Diffstat (limited to 'fs/xfs/xfs_utils.c')
-rw-r--r-- | fs/xfs/xfs_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_utils.c b/fs/xfs/xfs_utils.c index 8965887d26b1..102ce4898ab7 100644 --- a/fs/xfs/xfs_utils.c +++ b/fs/xfs/xfs_utils.c | |||
@@ -374,8 +374,8 @@ xfs_truncate_file( | |||
374 | * of references will stay constant. | 374 | * of references will stay constant. |
375 | */ | 375 | */ |
376 | xfs_ilock(ip, XFS_ILOCK_EXCL); | 376 | xfs_ilock(ip, XFS_ILOCK_EXCL); |
377 | xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); | 377 | xfs_trans_ijoin(tp, ip); |
378 | xfs_trans_ihold(tp, ip); | 378 | |
379 | /* | 379 | /* |
380 | * Signal a sync xaction. The only case where that isn't | 380 | * Signal a sync xaction. The only case where that isn't |
381 | * the case is if we're truncating an already unlinked file | 381 | * the case is if we're truncating an already unlinked file |