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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sun, 22 Jun 2008 23:05:07 EDT


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

Modified Files:
      Tag: openafs-devel-1_5_3x
	cm_scache.c cm_scache.h cm_vnodeops.c smb.c 
Log Message:
DELTA DEVEL153X-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-devel-1_5_3x follows ---
DEVEL153X-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.74.2.1 1.35.2.74.2.2
DEVEL153X-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_scache.h 1.21.2.24 1.21.2.24.2.1
DEVEL153X-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_vnodeops.c 1.69.2.74.2.1 1.69.2.74.2.2
DEVEL153X-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/smb.c 1.118.2.70 1.118.2.70.2.1