git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
66bd2d7
)
darwin-vm-bugfix-for-running-apps-out-of-afs-20020710
author
Chaskiel M Grundman
<cg2v@andrew.cmu.edu>
Thu, 11 Jul 2002 03:32:52 +0000 (
03:32
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 11 Jul 2002 03:32:52 +0000 (
03:32
+0000)
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
patch
|
blob
|
history
diff --git
a/src/afs/DARWIN/osi_vm.c
b/src/afs/DARWIN/osi_vm.c
index
caf0889
..
2cca095
100644
(file)
--- 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;