diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index 899cdf8c64..7c4ee99799 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -3265,11 +3265,10 @@ afs_DisconGiveUpCallbacks(void) { } } } - /*printf("%d callbacks to be discarded. queued ... ", nq);*/ - afs_FlushVCBs(0); - + ReleaseWriteLock(&afs_xvcache); - /*printf("gone\n");*/ + + afs_FlushVCBs(1); } /*!