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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 12 Jun 2008 10:24:19 EDT


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

Modified Files:
      Tag: openafs-windows-kdfs-ifs-branch
	cm_scache.c cm_scache.h cm_vnodeops.c smb.c 
Log Message:
DELTA KDFS-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 for openafs-windows-kdfs-ifs-branch follows ---
KDFS-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_scache.c 1.105.2.5 1.105.2.6
KDFS-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_scache.h 1.46 1.46.2.1
KDFS-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_vnodeops.c 1.141.2.5 1.141.2.6
KDFS-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/smb.c 1.191.2.4 1.191.2.5