OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3197-ga774fa8

Gerrit Code Review gerrit@openafs.org
Wed, 5 Dec 2012 21:11:08 -0800 (PST)


The following commit has been merged in the master branch:
commit a774fa8a6acf44b19e566c2da1bb416ef5d2983c
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Wed Dec 5 13:07:08 2012 -0500

    Windows: AFSSetRenameInfo Drop TreeLocks MmForceSectionClosed
    
    If the Target directory TreeLock is held across the
    MmForceSectionClosed() call in AFSSetRenameInfo() Trend Micro's
    TmPreFlt!TmpQueryFullName call can deadlock in its worker thread
    when AFSCommonCreate() attempts to AFSLocateNameEntry() which
    requires shared access to the TreeLock for the search.
    
    Reorganize the Target Entry Exists case to call MmForceSectionClosed()
    after the directory entry has been deleted.  That should throw
    a monkey wrench into Trend Micro's attempt to scan it.
    
    Change-Id: Ib8d4777fde257c0f2c93e2577caa6542c1b08c79
    Reviewed-on: http://gerrit.openafs.org/8607
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp |   84 +++++++++++++++++---------
 1 files changed, 55 insertions(+), 29 deletions(-)

-- 
OpenAFS Master Repository