]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-volser-initialize-volume-updatedate-20080816
authorDan Hyde <drh@umich.edu>
Sat, 16 Aug 2008 21:07:57 +0000 (21:07 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 16 Aug 2008 21:07:57 +0000 (21:07 +0000)
LICENSE IPL10
FIXES 110943

right now this isn't set until a vnode update happens. technically creating
the root directory is an update, so let's set it to now.

(cherry picked from commit b080c5d82ba5c7641afeb6836961cacf283e4902)

src/volser/volprocs.c

index 4a83b01af6cce3892f05977f21213e163f2cce15..c007a61c564d6f9e4d520ebe3fcef5c091ce93ba 100644 (file)
@@ -452,7 +452,7 @@ VolCreateVolume(struct rx_call *acid, afs_int32 apart, char *aname,
        return EIO;
     }
     V_uniquifier(vp) = 1;
-    V_creationDate(vp) = V_copyDate(vp);
+    V_updateDate(vp) = V_creationDate(vp) = V_copyDate(vp);
     V_inService(vp) = V_blessed(vp) = 1;
     V_type(vp) = atype;
     AssignVolumeName(&V_disk(vp), aname, 0);