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
/
afs_pioctl.c
diff --git
a/src/afs/afs_pioctl.c
b/src/afs/afs_pioctl.c
index
e2ece01
..
2634879
100644
(file)
--- a/
src/afs/afs_pioctl.c
+++ b/
src/afs/afs_pioctl.c
@@
-3521,7
+3521,9
@@
FlushVolumeData(struct VenusFid *afid, afs_ucred_t * acred)
continue;
}
#else
- AFS_FAST_HOLD(tvc);
+ if (osi_vnhold(tvc) != 0) {
+ continue;
+ }
#endif
ReleaseReadLock(&afs_xvcache);
ObtainWriteLock(&tvc->lock, 232);