From: Andrew Deason Date: Thu, 11 Jun 2009 15:25:15 +0000 (+0000) Subject: dafs-create-volumes-online-20090611 X-Git-Tag: openafs-devel-1_5_61~226 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=27cbb188bd1cb3e050c6911b1ddde75c46aa712f;p=packages%2Fo%2Fopenafs.git dafs-create-volumes-online-20090611 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. --- diff --git a/src/vol/volume.c b/src/vol/volume.c index c54a8ae1e..5f3202e8a 100644 --- a/src/vol/volume.c +++ b/src/vol/volume.c @@ -3577,6 +3577,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; @@ -3610,6 +3611,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;