X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b4c24cb9d3df001f2892dc4ed451bc769ff28a9f..d12e16782ebf8bb779633dff9e14486293bf6d07:/bsd/hfs/hfs_cnode.c diff --git a/bsd/hfs/hfs_cnode.c b/bsd/hfs/hfs_cnode.c index 65617595f..231e374f1 100644 --- a/bsd/hfs/hfs_cnode.c +++ b/bsd/hfs/hfs_cnode.c @@ -145,8 +145,7 @@ hfs_inactive(ap) if (error) goto out; #if QUOTA - if (!hfs_getinoquota(cp)) - (void)hfs_chkiq(cp, -1, NOCRED, 0); + (void)hfs_chkiq(cp, -1, NOCRED, 0); #endif /* QUOTA */ cp->c_mode = 0; @@ -265,7 +264,7 @@ hfs_reclaim(ap) #if QUOTA for (i = 0; i < MAXQUOTAS; i++) { if (cp->c_dquot[i] != NODQUOT) { - dqrele(vp, cp->c_dquot[i]); + dqreclaim(vp, cp->c_dquot[i]); cp->c_dquot[i] = NODQUOT; } }