volser-initialize-volume-updatedate-20080816
authorDan Hyde <drh@umich.edu>
Sat, 16 Aug 2008 21:07:30 +0000 (21:07 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 16 Aug 2008 21:07:30 +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.

src/volser/volprocs.c

index 7f23d98..939ba69 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);