OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2110-gafeb3c3

Gerrit Code Review
Thu, 19 Jan 2012 15:39:51 -0800 (PST)

The following commit has been merged in the master branch:
commit afeb3c3a83ed0869e4a70b0725e3f85713330c3a
Author: Jeffrey Altman <>
Date:   Tue Jan 17 19:43:54 2012 -0500

    Windows: prevent race assigning Fcb in AFSInitFcb()
    AFSInitFcb() is executed when the ObjectInformation->Fcb pointer
    is NULL.  More than one thread can make that determination at the
    same time.  Use InterlockedCompareExchangePointer() to detect
    a race and permit cleanup to be performed.
    Remove the output parameter of AFSInitFcb() to avoid a double
    Change-Id: I3870cccd5cd5e95134446523cce3547a2135d5e3
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>

 src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp       |   94 +++++++++++++++++------
 src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp   |   60 +++++++++------
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h |    3 +-
 3 files changed, 107 insertions(+), 50 deletions(-)

OpenAFS Master Repository