sol10-vnode-cleanup-20060126

Because we use a private pool of vnodes, it's up to us to trigger cleanup.
here we do so.
This commit is contained in:
Derrick Brashear 2006-01-26 15:49:05 +00:00
parent 9352092dfd
commit ad86f80fc2

View File

@ -204,6 +204,10 @@ afs_FlushVCache(struct vcache *avc, int *slept)
#endif #endif
AFSTOV(avc) = NULL; /* also drop the ptr to vnode */ 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 #endif
afs_FreeAllAxs(&(avc->Access)); afs_FreeAllAxs(&(avc->Access));