OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_19-27-gbb40eb3

Gerrit Code Review
Fri, 23 Nov 2012 20:20:56 -0800 (PST)

The following commit has been merged in the openafs-devel-1_7_x branch:
commit 6351ecae8581f1fd68e3a1afd2ecec941bb90743
Author: Jeffrey Altman <>
Date:   Thu Nov 22 11:52:11 2012 -0500

    Windows: Trend Micro QueryDirectory deadlock
    Trend Micro will deadlock both itself and the AFS redirector by
    calling a worker thread to generate a temporary file name during
    an active FindFirst Directory Query.  The Trend Micro worker will
    also attempt to enumerate the directory.   If the directory contains
    an entry for which the data version as reported by the service is
    different than the data version in the ObjectInformationCB a deadlock
    will occur on the matching FileCB Resource.
    To avoid this deadlock, prevent AFSValidateEntry from purging or
    updating the ObjectInformationCB and FileObject information when
    called from AFSQueryDirectory.
    Reviewed-by: Peter Scott <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>
    (cherry picked from commit c3ed4794c1ed7db14b67eb0c3bb65c1aed18ff35)
    Change-Id: I902f479ae995ca8dc0ba96f0eef4ec873ca60257
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>

 src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp       |    9 +-
 src/WINNT/afsrdr/kernel/lib/AFSDirControl.cpp   |    1 +
 src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp     |   11 +
 src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp      |  262 +++++++++++++----------
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h |    3 +-
 5 files changed, 171 insertions(+), 115 deletions(-)

OpenAFS Master Repository