mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
Revert "viced: avoid crash if missing volume header"
This reverts commit 2b40e6d2ab
Change-Id: I9df0fd4fa6232286babdf64da54d491d2ec1e91a
Reviewed-on: http://gerrit.openafs.org/7321
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
ae5ad93799
commit
200a02f69a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user