From ad86f80fc2a7c02452d4bf280236f4c5df317fe9 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 26 Jan 2006 15:49:05 +0000 Subject: [PATCH] sol10-vnode-cleanup-20060126 Because we use a private pool of vnodes, it's up to us to trigger cleanup. here we do so. --- src/afs/afs_vcache.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index 2cd6b53e53..fbb7a5bcf5 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));