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

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

#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
DEVEL15-windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_daemon.c
DEVEL15-windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_dcache.c
DEVEL15-windows-misc-fixes-20061006 openafs/src/WINNT/afsd/cm_scache.c