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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 12 Jun 2008 10:22:23 EDT


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

Modified Files:
      Tag: openafs-devel-1_5_x
	cm_scache.c cm_scache.h cm_vnodeops.c smb.c 
Log Message:
DELTA DEVEL15-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_x follows ---
DEVEL15-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.75 1.35.2.76
DEVEL15-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_scache.h 1.21.2.24 1.21.2.25
DEVEL15-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/cm_vnodeops.c 1.69.2.75 1.69.2.76
DEVEL15-windows-scache-deletion-and-lock-verification-20080612 openafs/src/WINNT/afsd/smb.c 1.118.2.73 1.118.2.74