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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 12 Jun 2008 10:20:46 EDT


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

Modified Files:
	cm_scache.c cm_scache.h cm_vnodeops.c smb.c 
Log Message:
DELTA windows-scache-deletion-and-lock-verification-20080612
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Add lock assertions to various functions.  

Obtain a missing lock around a call to cm_RemoveSCacheFromHashTable().

Correct an abstraction layer violation.  cm_scache_t objects should
be marked deleted in cm_Unlink() and cm_RemoveDir() and not in 
smb_CloseFID().  Cleanup of deleted cm_scache_t objects should be
performed in cm_ReleaseSCache() when the reference count hits zero.

Prototype cm_AdjustScacheLRU() and re-implement it using osi_QAddH().



--- DELTA config follows ---
windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_scache.c 1.111 1.112
windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_scache.h 1.46 1.47
windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_vnodeops.c 1.146 1.147
windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/smb.c 1.195 1.196