From 200a02f69a7f2ac1604c42e28498171c81df9b43 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 2 May 2012 19:32:22 -0700 Subject: [PATCH] Revert "viced: avoid crash if missing volume header" This reverts commit 2b40e6d2abbf842e6823661b94cfa9aa833b9990 Change-Id: I9df0fd4fa6232286babdf64da54d491d2ec1e91a Reviewed-on: http://gerrit.openafs.org/7321 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/viced/afsfileprocs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index 7702c6a47f..69aff57c8d 100644 --- 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;