diff options
Diffstat (limited to 'fs/xfs/quota')
-rw-r--r-- | fs/xfs/quota/xfs_dquot.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/xfs/quota/xfs_dquot.c b/fs/xfs/quota/xfs_dquot.c index 6526e87cade0..56f366e327f3 100644 --- a/fs/xfs/quota/xfs_dquot.c +++ b/fs/xfs/quota/xfs_dquot.c | |||
@@ -378,14 +378,7 @@ xfs_qm_dqalloc( | |||
378 | return (ESRCH); | 378 | return (ESRCH); |
379 | } | 379 | } |
380 | 380 | ||
381 | /* | 381 | xfs_trans_ijoin_ref(tp, quotip, XFS_ILOCK_EXCL); |
382 | * xfs_trans_commit normally decrements the vnode ref count | ||
383 | * when it unlocks the inode. Since we want to keep the quota | ||
384 | * inode around, we bump the vnode ref count now. | ||
385 | */ | ||
386 | IHOLD(quotip); | ||
387 | |||
388 | xfs_trans_ijoin(tp, quotip, XFS_ILOCK_EXCL); | ||
389 | nmaps = 1; | 382 | nmaps = 1; |
390 | if ((error = xfs_bmapi(tp, quotip, | 383 | if ((error = xfs_bmapi(tp, quotip, |
391 | offset_fsb, XFS_DQUOT_CLUSTER_SIZE_FSB, | 384 | offset_fsb, XFS_DQUOT_CLUSTER_SIZE_FSB, |