OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_11-29-g4fcaa4d

Gerrit Code Review gerrit@openafs.org
Fri, 4 May 2012 21:33:17 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 4fcaa4d08e7c9eb263fde25fc08db8bc1b65e80f
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Thu May 3 20:01:22 2012 -0400

    Windows: FCB cleanup must be done before ObjectInfo
    
    When processing the cleanup and destruction of a File Control Block
    the related ObjectInfoCB is required for proper cleanup.  Reorganize
    the AFSPrimaryVolumeWorkerThread logic to ensure that this is true.
    This involves dropping the VolumeCB->ObjectInfoTree.TreeLock around
    the AFSCleanupFcb() call. While the lock is released it is possible
    for the ObjectInfoCB->OpenReferenceCount to change.  Therefore, new
    checks must be added after the lock is re-acquired to ensure that
    an in-use object is not destroyed.
    
    Reviewed-on: http://gerrit.openafs.org/7327
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    (cherry picked from commit f76cf9a3fb30b8c89c91ca10eaff8308cab9630a)
    
    Change-Id: I26590ca31da2b363fa9eb5f450425c42ae42f6a5
    Reviewed-on: http://gerrit.openafs.org/7348
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp |    2 +-
 src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp  |  134 +++++++++++-----------------
 2 files changed, 55 insertions(+), 81 deletions(-)

-- 
OpenAFS Master Repository