diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index 8502d6a530..091a8a8113 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -798,7 +798,7 @@ afs_NewVCache_int(struct VenusFid *afid, struct server *serverp, int seq) afs_FlushReclaimedVcaches(); #if defined(AFS_LINUX22_ENV) - if(!afsd_dynamic_vcaches) { + if(!afsd_dynamic_vcaches && afs_vcount >= afs_maxvcount) { afs_ShakeLooseVCaches(anumber); if (afs_vcount >= afs_maxvcount) { afs_warn("afs_NewVCache - none freed\n");