From: Derrick Brashear Date: Thu, 2 Dec 2010 06:48:53 +0000 (-0500) Subject: balance afs_vcount in non-linux CM X-Git-Tag: openafs-stable-1_6_0pre1~30 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=eb563acb2175012759b06ed6dc86939d4b2c9614;p=packages%2Fo%2Fopenafs.git balance afs_vcount in non-linux CM when we dole out a vcache, count it. Reviewed-on: http://gerrit.openafs.org/3423 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit bd2e024dc230693b1c6cbcfe40d4270a475b02d0) Change-Id: Ie80dfd0be5e8c5560763b3fa50a27ed766340aa5 Reviewed-on: http://gerrit.openafs.org/3449 --- diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index d19a68d70..afb4bc7fc 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -817,6 +817,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 */