OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_17-40-ga5f4f52
Gerrit Code Review
gerrit@openafs.org
Sun, 28 Oct 2012 05:10:13 -0700 (PDT)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 4f377adb6797cbd86b62d382aa48e5c35c2a4196
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Fri Oct 19 09:33:18 2012 -0400
Windows: Promote DELETED from DirEntry to ObjInfo
On deletion of the DirEntry in AFSDeleteDirEntry() set the
AFS_OBJECT_FLAGS_DELETED flag on the ObjectInformation object
if and only if the AFS_DIR_ENTRY_DELETED flag was set in the
DirEntry. Setting the AFS_OBJECT_FLAGS_DELETED should not
be conditional on the ObjectInformatION ReferenceCount being
zero.
Remove the test and set of AFS_OBJECT_FLAGS_DELETED from
AFSClose() because that operation will already have been
performed in the call to AFSDeleteDirEntry() if necessary.
Reviewed-on: http://gerrit.openafs.org/8256
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
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 f869b6f8c11f859fad6e3649faf7e724e0bd1d6d)
Change-Id: I9e93ca54ed8cd9a610b1f84d1a46887f9e90c5ea
Reviewed-on: http://gerrit.openafs.org/8310
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSClose.cpp | 2 --
src/WINNT/afsrdr/kernel/lib/AFSNameSupport.cpp | 11 ++++++-----
2 files changed, 6 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository