OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_8-15-gbd5c641

Gerrit Code Review gerrit@openafs.org
Fri, 30 Mar 2012 07:42:08 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit bd5c64193d8b5e9237644f8b45fb4ff5c1286da1
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().
    
    Reviewed-on: http://gerrit.openafs.org/6988
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    (cherry picked from commit 134943a7a55d73f567d3f336e06783c405347fa7)
    
    Change-Id: I30ea9fcd8c0a1266d91bae28c749ee3ba0476ebe
    Reviewed-on: http://gerrit.openafs.org/6990
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    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