OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_15-40-g6f2a7f0
Gerrit Code Review
gerrit@openafs.org
Tue, 3 Jul 2012 22:24:06 -0700 (PDT)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 6f2a7f061578c4b90de134a6b050c751bf576cab
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Wed Jun 27 01:00:20 2012 -0400
Windows: ensure TreeLock obtain and release same pointer
The indirection ObjectInformation->ParentObjectInformation does
not appear to be stable. When acquiring and releasing a parent
TreeLock, use a local variable to store the ParentObjectInformation
pointer and use that to access the TreeLock. This will ensure that
the resource obtained is the one that is released.
Reviewed-on: http://gerrit.openafs.org/7651
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 03dfcce05aabf2ceecdb84528fc837176c52af77)
Change-Id: I07adac68fbeb4b4da927a805880cc3cf0c845708
Reviewed-on: http://gerrit.openafs.org/7701
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSCleanup.cpp | 155 ++++++++++++++----------
src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp | 29 +++--
src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp | 4 +-
src/WINNT/afsrdr/kernel/lib/AFSNameSupport.cpp | 12 +-
4 files changed, 115 insertions(+), 85 deletions(-)
--
OpenAFS Master Repository