diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-07-18 03:12:43 -0400 |
---|---|---|
committer | Niv Sardi <xaiki@debian.org> | 2008-07-28 02:59:29 -0400 |
commit | 26cc0021805e66daa6342174fb5a8c1c862f7c8e (patch) | |
tree | cb6bf666bef12e7470025d78c86df6e3d169c7b7 /fs/xfs/quota/xfs_qm.c | |
parent | 62a877e35d5085c65936ed3194d1bbaf84f419e1 (diff) |
[XFS] s/XFS_PURGE_INODE/IRELE/g s/VN_HOLD(XFS_ITOV())/IHOLD()/
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31405a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/quota/xfs_qm.c')
-rw-r--r-- | fs/xfs/quota/xfs_qm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/quota/xfs_qm.c b/fs/xfs/quota/xfs_qm.c index 26370a3128f5..021934a3d456 100644 --- a/fs/xfs/quota/xfs_qm.c +++ b/fs/xfs/quota/xfs_qm.c | |||
@@ -445,11 +445,11 @@ xfs_qm_unmount_quotas( | |||
445 | } | 445 | } |
446 | } | 446 | } |
447 | if (uqp) { | 447 | if (uqp) { |
448 | XFS_PURGE_INODE(uqp); | 448 | IRELE(uqp); |
449 | mp->m_quotainfo->qi_uquotaip = NULL; | 449 | mp->m_quotainfo->qi_uquotaip = NULL; |
450 | } | 450 | } |
451 | if (gqp) { | 451 | if (gqp) { |
452 | XFS_PURGE_INODE(gqp); | 452 | IRELE(gqp); |
453 | mp->m_quotainfo->qi_gquotaip = NULL; | 453 | mp->m_quotainfo->qi_gquotaip = NULL; |
454 | } | 454 | } |
455 | out: | 455 | out: |
@@ -1240,11 +1240,11 @@ xfs_qm_destroy_quotainfo( | |||
1240 | xfs_qm_list_destroy(&qi->qi_dqlist); | 1240 | xfs_qm_list_destroy(&qi->qi_dqlist); |
1241 | 1241 | ||
1242 | if (qi->qi_uquotaip) { | 1242 | if (qi->qi_uquotaip) { |
1243 | XFS_PURGE_INODE(qi->qi_uquotaip); | 1243 | IRELE(qi->qi_uquotaip); |
1244 | qi->qi_uquotaip = NULL; /* paranoia */ | 1244 | qi->qi_uquotaip = NULL; /* paranoia */ |
1245 | } | 1245 | } |
1246 | if (qi->qi_gquotaip) { | 1246 | if (qi->qi_gquotaip) { |
1247 | XFS_PURGE_INODE(qi->qi_gquotaip); | 1247 | IRELE(qi->qi_gquotaip); |
1248 | qi->qi_gquotaip = NULL; | 1248 | qi->qi_gquotaip = NULL; |
1249 | } | 1249 | } |
1250 | mutex_destroy(&qi->qi_quotaofflock); | 1250 | mutex_destroy(&qi->qi_quotaofflock); |
@@ -1394,7 +1394,7 @@ xfs_qm_qino_alloc( | |||
1394 | * locked exclusively and joined to the transaction already. | 1394 | * locked exclusively and joined to the transaction already. |
1395 | */ | 1395 | */ |
1396 | ASSERT(xfs_isilocked(*ip, XFS_ILOCK_EXCL)); | 1396 | ASSERT(xfs_isilocked(*ip, XFS_ILOCK_EXCL)); |
1397 | VN_HOLD(XFS_ITOV((*ip))); | 1397 | IHOLD(*ip); |
1398 | 1398 | ||
1399 | /* | 1399 | /* |
1400 | * Make the changes in the superblock, and log those too. | 1400 | * Make the changes in the superblock, and log those too. |