aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/quota
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-08-13 16:13:09 +1000
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-08-13 16:13:09 +1000
commit0b1f917730dc2276fadbd9813ac3666abd7b1cbd (patch)
tree8fe61b1287643bf47d3d88204f33393361d8d70c /fs/xfs/quota
parent604323ca760beebf00a07153706dcbe7128324e0 (diff)
downloadkernel_samsung_tuna-0b1f917730dc2276fadbd9813ac3666abd7b1cbd.zip
kernel_samsung_tuna-0b1f917730dc2276fadbd9813ac3666abd7b1cbd.tar.gz
kernel_samsung_tuna-0b1f917730dc2276fadbd9813ac3666abd7b1cbd.tar.bz2
[XFS] remove remaining VN_HOLD calls
Use IHOLD(ip) instead of VN_HOLD(VFS_I(ip)). SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31765a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/quota')
-rw-r--r--fs/xfs/quota/xfs_dquot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/quota/xfs_dquot.c b/fs/xfs/quota/xfs_dquot.c
index 68adc5f..9de42d0 100644
--- a/fs/xfs/quota/xfs_dquot.c
+++ b/fs/xfs/quota/xfs_dquot.c
@@ -431,7 +431,7 @@ xfs_qm_dqalloc(
* when it unlocks the inode. Since we want to keep the quota
* inode around, we bump the vnode ref count now.
*/
- VN_HOLD(VFS_I(quotip));
+ IHOLD(quotip);
xfs_trans_ijoin(tp, quotip, XFS_ILOCK_EXCL);
nmaps = 1;