OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_8-11-gebdd5b2

Gerrit Code Review
Thu, 29 Mar 2012 05:47:45 -0700 (PDT)

The following commit has been merged in the openafs-devel-1_7_x branch:
commit ebdd5b2f46236b7eeab3b146aa85c759d08a44d9
Author: Jeffrey Altman <>
Date:   Mon Mar 26 11:10:36 2012 -0400

    Windows: AFSInvalidateObject can overwrite input param
    AFSInvalidateObject() must not be called with an AFSObjectInformationCB
    pointer variable that it is not safe to overwrite as the function sets
    the input value to NULL if the invalidation is going to be performed
    asynchronously in a worker thread.
    In AFSEnumerateDirectory(), the following call took place:
      AFSInvalidateObject( &pDirNode->ObjectInformation,
    which requires a worker thread to process.  As a result, the
    ObjectInformation pointer was being set to NULL which detached the
    AFSObjectInformationCB from the AFSDirectoryCB.  That in turn produced
    an execption in AFSLocateName() which resulted in a resource not being
    freed that in turn produced a deadlock.
    Reviewed-by: Jeffrey Altman <>
    Tested-by: BuildBot <>
    Tested-by: Jeffrey Altman <>
    (cherry picked from commit 32ad50bcee9a5b087bea7e0c9c1cfe3d1e58293e)
    Change-Id: I8a8c2292f18ddb2f25162e86592a3b51e413bebb
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>

 src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp |   24 ++++++++++++++++++++++--
 src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp     |   16 ++++++++++------
 2 files changed, 32 insertions(+), 8 deletions(-)

OpenAFS Master Repository