OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2483-gf76cf9a
Gerrit Code Review
gerrit@openafs.org
Fri, 4 May 2012 10:28:32 -0700 (PDT)
The following commit has been merged in the master branch:
commit f76cf9a3fb30b8c89c91ca10eaff8308cab9630a
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.
Change-Id: I6b26fb2fe1ef4077c6edd643ec40715c8e2928ac
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>
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