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

Sat, 07 Aug 2004 01:44:06 EDT

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

Modified Files:
	cm_dcache.c cm_freelance.c cm_freelance.h cm_scache.c 
	cm_server.c smb.c smb.h smb3.c 
Log Message:
DELTA freelance-misc-20040807

Added a change monitor to the HKLM\SOFTWARE\OpenAFS\Client\Freelance
key.  When a change occurs mark the root.afs data as invalid and
for it to be reloaded on the next access.  This allows administrators
to modify the mount point list without restarting the service.

The freelance client used to provide a fake modification time for
the root.afs volume data and its mount points of 7/09/2001 14:24 EDT.
Added code to extract the last modification time of the Freelance
registry key and use that instead.  The time now represents the
most recent mount point change.

smb3.c: Fake the timestamp if we can't stat the file.  A zero FILETIME
value causes problems.

--- DELTA config follows ---
freelance-misc-20040807 openafs/src/WINNT/afsd/cm_dcache.c 1.10 1.11
freelance-misc-20040807 openafs/src/WINNT/afsd/cm_freelance.c 1.14 1.15
freelance-misc-20040807 openafs/src/WINNT/afsd/cm_freelance.h 1.5 1.6
freelance-misc-20040807 openafs/src/WINNT/afsd/cm_scache.c 1.13 1.14
freelance-misc-20040807 openafs/src/WINNT/afsd/cm_server.c 1.10 1.11
freelance-misc-20040807 openafs/src/WINNT/afsd/smb.c 1.52 1.53
freelance-misc-20040807 openafs/src/WINNT/afsd/smb.h 1.13 1.14
freelance-misc-20040807 openafs/src/WINNT/afsd/smb3.c 1.40 1.41