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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 06 Oct 2006 12:32:44 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_buf.c cm_daemon.c cm_dcache.c cm_scache.c 
Log Message:
DELTA DEVEL15-windows-misc-fixes-20061006
AUTHOR jaltman@secure-endpoints.com

#ifdef DEBUG_REFCOUNT the ref count log entries so they aren't always
compiled in

comment out the remaining location where the write lock on cm_scacheLock
is dropped in order to obtain the scache mutex on the object returned
from cm_GetNewSCache().  Dropping the lock results in more than one
thread being given the same cm_scache_t which is more dangerous than
blowing away the contents of the object without holding the mutex

ensure that cm_BufWrite is always called with a non-NULL scp.  Add
an assertion to double check that we do it all the time.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_buf.c 1.31.2.5 1.31.2.6
DEVEL15-windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_daemon.c 1.16.4.6 1.16.4.7
DEVEL15-windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_dcache.c 1.30.2.7 1.30.2.8
DEVEL15-windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.18 1.35.2.19