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)
This commit is contained in:
Derrick Brashear 2006-01-26 15:50:08 +00:00
parent 6716aabdf1
commit 4ab6ab784a

View File

@ -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));