balance afs_vcount in non-linux CM
[openafs.git] / src / afs / afs_vcache.c
index 57c9069..e515d3c 100644 (file)
@@ -818,6 +818,7 @@ afs_NewVCache_int(struct VenusFid *afid, struct server *serverp, int seq)
        tvc = freeVCList;       /* take from free list */
        freeVCList = tvc->nextfree;
        tvc->nextfree = NULL;
+       afs_vcount++; /* balanced by FlushVCache */
     } /* end of if (!freeVCList) */
 
 #endif /* AFS_LINUX22_ENV */