From 60e5e69eab4ab5e7e14fbacac2035c42129e7e31 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Mon, 23 Mar 2009 19:11:25 +0000 Subject: [PATCH] DEVEL15-disconnected-put-back-vcaches-we-held-20090323 LICENSE IPL10 if we hold a vcache for shadow, we need to release the ref when we give it up (cherry picked from commit 62f4c29eef578b7f3df143f3ddd04307d8f2271f) --- src/afs/afs_dcache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/afs/afs_dcache.c b/src/afs/afs_dcache.c index d20b18fd9..b3f72ae8a 100644 --- a/src/afs/afs_dcache.c +++ b/src/afs/afs_dcache.c @@ -3912,6 +3912,7 @@ void afs_DeleteShadowDir(struct vcache *avc) ObtainWriteLock(&afs_disconDirtyLock, 708); QRemove(&avc->shadowq); ReleaseWriteLock(&afs_disconDirtyLock); + afs_PutVCache(avc); /* Because we held it when we added to the queue */ } /*! -- 2.39.5