diff options
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. |