From: Derrick Brashear Date: Thu, 26 Jan 2006 15:50:08 +0000 (+0000) Subject: STABLE14-sol10-vnode-cleanup-20060126 X-Git-Tag: openafs-stable-1_4_1-rc6~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4ab6ab784aa5eb437ef57e441ce9681b3af1f3c2;p=packages%2Fo%2Fopenafs.git STABLE14-sol10-vnode-cleanup-20060126 Because we use a private pool of vnodes, it's up to us to trigger cleanup. here we do so. (cherry picked from commit ad86f80fc2a7c02452d4bf280236f4c5df317fe9) --- diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index 2cd6b53e5..fbb7a5bcf 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -204,6 +204,10 @@ afs_FlushVCache(struct vcache *avc, int *slept) #endif AFSTOV(avc) = NULL; /* also drop the ptr to vnode */ } +#endif +#ifdef AFS_SUN510_ENV + /* As we use private vnodes, cleanup is up to us */ + vn_reinit(AFSTOV(avc)); #endif afs_FreeAllAxs(&(avc->Access));