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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 06 Mar 2008 20:03:46 EST


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_scache.c cm_volume.c cm_volume.h 
Log Message:
DELTA windows-interlocked-volume-refcount-20080306
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Switch cm_volume_t objects to InterlockedIncrement/InterlockedDecrement
for reference counting.

Remove protections against null pointers being passed into cm_GetVolume()
Instead, do not call cm_GetVolume() if the pointer is NULL.

Fix a buffer data version comparison that should be bad version number
instead of <= 0.



--- DELTA config follows ---
windows-interlocked-volume-refcount-20080306 openafs/src/WINNT/afsd/cm_buf.c 1.67 1.68
windows-interlocked-volume-refcount-20080306 openafs/src/WINNT/afsd/cm_scache.c 1.101 1.102
windows-interlocked-volume-refcount-20080306 openafs/src/WINNT/afsd/cm_volume.c 1.47 1.48
windows-interlocked-volume-refcount-20080306 openafs/src/WINNT/afsd/cm_volume.h 1.13 1.14