From 7e0d50a1083e765d12a4978150002cfd7d806a91 Mon Sep 17 00:00:00 2001 From: Chaskiel M Grundman Date: Thu, 11 Jul 2002 03:32:52 +0000 Subject: [PATCH] darwin-vm-bugfix-for-running-apps-out-of-afs-20020710 this "fixes a problem that causes the afs kernel code to spew into syslog if a long running application is run out of /afs" --- src/afs/DARWIN/osi_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/DARWIN/osi_vm.c b/src/afs/DARWIN/osi_vm.c index caf0889a5..2cca0953d 100644 --- a/src/afs/DARWIN/osi_vm.c +++ b/src/afs/DARWIN/osi_vm.c @@ -193,7 +193,7 @@ void osi_VM_TryReclaim(avc, slept) return; } #ifdef AFS_DARWIN14_ENV - if (vp->v_ubcinfo->ui_refcount > 1) { + if (vp->v_ubcinfo->ui_refcount > 1 || vp->v_ubcinfo->ui_mapped) { simple_unlock(&vp->v_interlock); AFS_RELE(vp); return; -- 2.39.5