From: Jeffrey Altman Date: Tue, 3 Jul 2012 16:42:52 +0000 (-0400) Subject: Windows: cm_DiscardSCache volumeCreationDate X-Git-Tag: upstream/1.8.0_pre1^2~2260 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=64a37fa9f916cd1e8f0ec9bb252fda13aa8b4cd4;p=packages%2Fo%2Fopenafs.git Windows: cm_DiscardSCache volumeCreationDate commit f716962ab41847af4450d0a361f5de9195b32ed0 clears the cm_scache_t volumeCreationDate field. It shouldn't because the volumeCreationDate is not a property of the callback. It is a property of the status information which does not change simply because the callback expires. Change-Id: I3f73cf89588de6c1c87434cd04b86939d45cfa43 Reviewed-on: http://gerrit.openafs.org/7678 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/WINNT/afsd/cm_scache.c b/src/WINNT/afsd/cm_scache.c index 08490f033..2d6165f2b 100644 --- a/src/WINNT/afsd/cm_scache.c +++ b/src/WINNT/afsd/cm_scache.c @@ -2029,7 +2029,6 @@ void cm_DiscardSCache(cm_scache_t *scp) } scp->cbExpires = 0; scp->cbIssued = 0; - scp->volumeCreationDate = 0; _InterlockedAnd(&scp->flags, ~(CM_SCACHEFLAG_CALLBACK | CM_SCACHEFLAG_LOCAL | CM_SCACHEFLAG_RDR_IN_USE)); cm_dnlcPurgedp(scp); cm_dnlcPurgevp(scp);