]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-volser-initialize-volume-updatedate-20080816
authorDan Hyde <drh@umich.edu>
Sat, 16 Aug 2008 21:07:45 +0000 (21:07 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 16 Aug 2008 21:07:45 +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 279af06d0a13f5919c4924c0c2b180b282ea6757..bad4bc56fb667569537fe6cac3cba9846f18e52b 100644 (file)
@@ -446,7 +446,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);