Diff for /xfs-linux/quota/xfs_qm.c between versions 1.70 and 1.71

version 1.70, 2008/05/09 04:29:54 version 1.71, 2008/07/04 16:39:25
Line 445  xfs_qm_unmount_quotas( Line 445  xfs_qm_unmount_quotas(
                 }                  }
         }          }
         if (uqp) {          if (uqp) {
                  XFS_PURGE_INODE(uqp);                   IRELE(uqp);
                  mp->m_quotainfo->qi_uquotaip = NULL;                   mp->m_quotainfo->qi_uquotaip = NULL;
         }          }
         if (gqp) {          if (gqp) {
                 XFS_PURGE_INODE(gqp);                  IRELE(gqp);
                 mp->m_quotainfo->qi_gquotaip = NULL;                  mp->m_quotainfo->qi_gquotaip = NULL;
         }          }
 out:  out:
Line 1240  xfs_qm_destroy_quotainfo( Line 1240  xfs_qm_destroy_quotainfo(
         xfs_qm_list_destroy(&qi->qi_dqlist);          xfs_qm_list_destroy(&qi->qi_dqlist);
   
         if (qi->qi_uquotaip) {          if (qi->qi_uquotaip) {
                 XFS_PURGE_INODE(qi->qi_uquotaip);                  IRELE(qi->qi_uquotaip);
                 qi->qi_uquotaip = NULL; /* paranoia */                  qi->qi_uquotaip = NULL; /* paranoia */
         }          }
         if (qi->qi_gquotaip) {          if (qi->qi_gquotaip) {
                 XFS_PURGE_INODE(qi->qi_gquotaip);                  IRELE(qi->qi_gquotaip);
                 qi->qi_gquotaip = NULL;                  qi->qi_gquotaip = NULL;
         }          }
         mutex_destroy(&qi->qi_quotaofflock);          mutex_destroy(&qi->qi_quotaofflock);
Line 1394  xfs_qm_qino_alloc( Line 1394  xfs_qm_qino_alloc(
          * locked exclusively and joined to the transaction already.           * locked exclusively and joined to the transaction already.
          */           */
         ASSERT(xfs_isilocked(*ip, XFS_ILOCK_EXCL));          ASSERT(xfs_isilocked(*ip, XFS_ILOCK_EXCL));
         VN_HOLD(XFS_ITOV((*ip)));          IHOLD(*ip);
   
         /*          /*
          * Make the changes in the superblock, and log those too.           * Make the changes in the superblock, and log those too.

Removed from v.1.70  
changed lines
  Added in v.1.71


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>