git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
afs: Refactor osi_vnhold/AFS_FAST_HOLD
[openafs.git]
/
src
/
afs
/
DARWIN
/
osi_vm.c
diff --git
a/src/afs/DARWIN/osi_vm.c
b/src/afs/DARWIN/osi_vm.c
index
c2fdb9c
..
7d7b0b0
100644
(file)
--- a/
src/afs/DARWIN/osi_vm.c
+++ b/
src/afs/DARWIN/osi_vm.c
@@
-166,7
+166,7
@@
osi_VM_Setup(struct vcache *avc, int force)
#ifndef AFS_DARWIN80_ENV
if (UBCISVALID(vp) && ((avc->f.states & CStatd) || force)) {
if (!UBCINFOEXISTS(vp)) {
- osi_vnhold(avc, 0);
+ osi_Assert(osi_vnhold(avc) == 0);
avc->f.states |= CUBCinit;
AFS_GUNLOCK();
if ((error = ubc_info_init(vp))) {