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:
a08aa58
)
DEVEL15-dafs-create-volumes-online-20090611
author
Andrew Deason
<adeason@sinenomine.net>
Thu, 11 Jun 2009 15:25:25 +0000 (15:25 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 11 Jun 2009 15:25:25 +0000 (15:25 +0000)
LICENSE IPL10
FIXES 124492
newly created volumes were not marked "not in use" by the volserver, so the
fileserver would not take them. fix it.
(cherry picked from commit
27cbb188bd1cb3e050c6911b1ddde75c46aa712f
)
src/vol/volume.c
patch
|
blob
|
history
diff --git
a/src/vol/volume.c
b/src/vol/volume.c
index
f4b703f
..
003936c
100644
(file)
--- a/
src/vol/volume.c
+++ b/
src/vol/volume.c
@@
-3583,6
+3583,7
@@
VCheckDetach(register Volume * vp)
if ((programType != fileServer) &&
(V_inUse(vp) == programType) &&
((V_checkoutMode(vp) == V_VOLUPD) ||
+ (V_checkoutMode(vp) == V_SECRETLY) ||
((V_checkoutMode(vp) == V_CLONE) &&
(VolumeWriteable(vp))))) {
V_inUse(vp) = 0;
@@
-3616,6
+3617,7
@@
VCheckDetach(register Volume * vp)
if ((programType != fileServer) &&
(V_inUse(vp) == programType) &&
((V_checkoutMode(vp) == V_VOLUPD) ||
+ (V_checkoutMode(vp) == V_SECRETLY) ||
((V_checkoutMode(vp) == V_CLONE) &&
(VolumeWriteable(vp))))) {
V_inUse(vp) = 0;