OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2164-g8127eec

Gerrit Code Review gerrit@openafs.org
Sat, 11 Feb 2012 14:30:51 -0800 (PST)


The following commit has been merged in the master branch:
commit 5c4e49062af0e9b81b963d1d6e50c7cc52c68eb9
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sat Feb 11 12:49:33 2012 -0500

    Windows: AFSRemoveFcb() cannot race
    
    Modify AFSRemoveFcb to use InterlockedComparePointerExchange
    to ensure that only one thread can remove and deallocate an
    AFSFcb structure.
    
    Change-Id: I27d27b6a99806bee2fc2cfc04c2ac04d975a553d
    Reviewed-on: http://gerrit.openafs.org/6696
    Reviewed-by: Peter Scott <pscott@kerneldrivers.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp       |   36 ++++++---------------
 src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp   |   38 ++++++++++++++--------
 src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp       |   13 +++----
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h |    2 +-
 4 files changed, 41 insertions(+), 48 deletions(-)

-- 
OpenAFS Master Repository