git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8190e75
)
volser-initialize-volume-updatedate-20080816
author
Dan Hyde
<drh@umich.edu>
Sat, 16 Aug 2008 21:07:30 +0000 (21:07 +0000)
committer
Derrick 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
patch
|
blob
|
history
diff --git
a/src/volser/volprocs.c
b/src/volser/volprocs.c
index
7f23d98
..
939ba69
100644
(file)
--- a/
src/volser/volprocs.c
+++ b/
src/volser/volprocs.c
@@
-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);