macos104-not-yet-20050511
[openafs.git] / src / afs / afs_vcache.c
index 5f6040d..70ff491 100644 (file)
@@ -232,7 +232,7 @@ afs_FlushVCache(struct vcache *avc, int *slept)
     afs_vcount--;
     vSetType(avc, VREG);
 #ifdef AFS_DARWIN80_ENV
-    if (vnode_isinuse(AFSTOV(avc))) {
+    if (vnode_isinuse(AFSTOV(avc), 0)) {
 #else
     if (VREFCOUNT(avc) > 0) {
 #endif
@@ -620,14 +620,14 @@ afs_NewVCache(struct VenusFid *afid, struct server *serverp)
            else if (QNext(uq) != tq)
                refpanic("VLRU inconsistent");
 #ifdef AFS_DARWIN80_ENV
-           else if (!vnode_isinuse(AFSTOV(tvc))) 
+           else if (!vnode_isinuse(AFSTOV(tvc), 0)) 
 #else
            else if (VREFCOUNT(tvc) < 1)
 #endif
                refpanic("refcnt 0 on VLRU");
 
 #ifdef AFS_DARWIN80_ENV
-           if (vnode_isinuse(AFSTOV(tvc)) &&  
+           if (vnode_isinuse(AFSTOV(tvc), 0) &&  
 #else
            if (VREFCOUNT(tvc) == 1 &&
 #endif
@@ -725,7 +725,7 @@ restart:
 #endif
 
 #ifdef AFS_DARWIN80_ENV
-           if (!vnode_isinuse(AFSTOV(tvc)
+           if (!vnode_isinuse(AFSTOV(tvc), 0
 #else
            if (((VREFCOUNT(tvc) == 0) 
 #if defined(AFS_DARWIN_ENV) && !defined(UKERNEL)