]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-volume-recycling-race-condition-20080731
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 31 Jul 2008 05:47:20 +0000 (05:47 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 31 Jul 2008 05:47:20 +0000 (05:47 +0000)
commitfcc66ac8f0fdf693faf3c93a2b5bbcd51e5382f0
treeb1e0bbb3e57499d8d9fe69c77a68bf0f1a04e80f
parent38b78de391b5fa1e6c6d43cdde8504bdb4b68f3c
DEVEL15-windows-volume-recycling-race-condition-20080731

LICENSE MIT

When recycling cm_volume_t objects, avoid a race condition that could
result in the same cm_volume_t object being recycling simultaneously
in two threads.  The end result would be a reference count miscount
and an undercount assertion being thrown.

(cherry picked from commit b61ac7dc6ffb05b03011fef8cfdd5e72886fb705)
src/WINNT/afsd/cm_volume.c