OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3141-g2b86ae3

Gerrit Code Review gerrit@openafs.org
Fri, 23 Nov 2012 19:24:18 -0800 (PST)


The following commit has been merged in the master branch:
commit c3ed4794c1ed7db14b67eb0c3bb65c1aed18ff35
Author: Jeffrey Altman <jaltman@your-file-system.com>
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.
    
    Change-Id: I8f2f7136796759eb91dadfea34a89513c1a1fff4
    Reviewed-on: http://gerrit.openafs.org/8492
    Reviewed-by: Peter Scott <pscott@kerneldrivers.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>

 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