OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2263-g134943a

Gerrit Code Review gerrit@openafs.org
Fri, 30 Mar 2012 06:09:56 -0700 (PDT)


The following commit has been merged in the master branch:
commit 134943a7a55d73f567d3f336e06783c405347fa7
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Thu Mar 29 23:49:43 2012 -0400

    Windows: avoid deadlock with Trend Micro
    
    Trend Micro's anti-virus driver attempts to open the file in
    response to CcPurgeCacheSection().  While processing
    AFSSetDispositionInfo() the Fcb->NPFcb->Resource is held which is
    also required if a status verification is required during the
    CreateFile operation.  That results in a deadlock.
    
    Avoid the deadlock by setting the PENDING_DELETE flag prior to
    calling CcPurgeCacheSection().
    
    Change-Id: I40d93d70e120525343afb917d473ad79a1f36e29
    Reviewed-on: http://gerrit.openafs.org/6988
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp |   30 +++++++++++++++++++-------
 1 files changed, 22 insertions(+), 8 deletions(-)

-- 
OpenAFS Master Repository