OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 17 May 2005 14:25:21 EDT


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd

Modified Files:
	cm_dnlc.c cm_memmap.c 
Log Message:
DELTA windows-dnlc-corruption-20050517
AUTHOR jaltman@secure-endpoints.com

It has been noticed that on startup there may be corruption of the
dnlc freelist.  In particular, some items on the list are actually
in use.  This patch will cause the dnlc to be purged if corruption 
of the freelist is detected.  It also makes changes to ensure that
items placed onto the freelist are in fact cleaned to prevent confusion.

The purge function is corrected to set that magic field to the correct
value.

The validation function is fixed to not CloseHandle the same handle
twice.



--- DELTA config follows ---
windows-dnlc-corruption-20050517 openafs/src/WINNT/afsd/cm_dnlc.c 1.7 1.8
windows-dnlc-corruption-20050517 openafs/src/WINNT/afsd/cm_memmap.c 1.2 1.3