OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Fri, 06 Oct 2006 12:31:30 EDT
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd
Modified Files:
cm_buf.c cm_daemon.c cm_dcache.c cm_scache.c
Log Message:
DELTA 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 follows ---
windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_buf.c 1.37 1.38
windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_daemon.c 1.23 1.24
windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_dcache.c 1.38 1.39
windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_scache.c 1.54 1.55