git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
ae5ad93
)
Revert "viced: avoid crash if missing volume header"
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Thu, 3 May 2012 02:32:22 +0000 (19:32 -0700)
committer
Derrick Brashear
<shadow@dementix.org>
Thu, 3 May 2012 10:46:55 +0000 (
03:46
-0700)
This reverts commit
2b40e6d2abbf842e6823661b94cfa9aa833b9990
Change-Id: I9df0fd4fa6232286babdf64da54d491d2ec1e91a
Reviewed-on: http://gerrit.openafs.org/7321
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/viced/afsfileprocs.c
patch
|
blob
|
history
diff --git
a/src/viced/afsfileprocs.c
b/src/viced/afsfileprocs.c
index
7702c6a
..
69aff57
100644
(file)
--- a/
src/viced/afsfileprocs.c
+++ b/
src/viced/afsfileprocs.c
@@
-244,7
+244,7
@@
SetVolumeSync(struct AFSVolSync *async, Volume * avol)
FS_LOCK;
/* date volume instance was created */
if (async) {
- if (avol && avol->header)
+ if (avol)
async->spare1 = avol->header->diskstuff.creationDate;
else
async->spare1 = 0;