]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-interlocked-volume-refcount-20080306
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 7 Mar 2008 01:14:13 +0000 (01:14 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 7 Mar 2008 01:14:13 +0000 (01:14 +0000)
commitefcef7c17fa0d5be79f72a8f3e7619bcd2ce2cdd
tree30be360b6d68610899d9279b174e196f2cfb4c63
parent42c527deab19bb936e4f5f191ee05d1be7142b6c
DEVEL15-windows-interlocked-volume-refcount-20080306

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.

(cherry picked from commit fb154e60e3cb6cf9e934f9a75c5ca67473ac36a2)
src/WINNT/afsd/cm_buf.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_volume.c
src/WINNT/afsd/cm_volume.h