From 62f4c29eef578b7f3df143f3ddd04307d8f2271f Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Mon, 23 Mar 2009 19:11:16 +0000 Subject: [PATCH] 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 --- 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 f9cab1b9b..878bfab93 100644 --- a/src/afs/afs_dcache.c +++ b/src/afs/afs_dcache.c @@ -3890,6 +3890,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