OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_22-13-g5ab708c
Gerrit Code Review
gerrit@openafs.org
Fri, 22 Mar 2013 13:30:50 -0700 (PDT)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 5ab708cbcebaad422e2b5d4b2027b5685539fd73
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Tue Mar 19 11:48:42 2013 -0400
windows: AFSQueryDirectoryQueryDirect no Symlinks
When evaluating symlinks for directory enumerations, the response
must properly set the FILE_ATTRIBUTE_DIRECTORY flag based upon the
file attributes of the target. At the present time the target is
not evaluated by the service and AFSQueryDirectoryQueryDirect does
not have the correct context in which to evaluate the target.
Instead of returning an incorrect result to the application, exit
AFSQueryDirectoryQueryDirect() returning STATUS_REPARSE_OBJECT which
is interpreted by AFSQueryDirectory() to perform a full directory
enumeration.
Reviewed-on: http://gerrit.openafs.org/9633
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Peter Scott <pscott@kerneldrivers.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit f9dac53a75aff66696f78255ed08cc49c696d337)
Change-Id: Ic4c88725ecf39fbc08dbe29491c4b8eed7bb9d89
Reviewed-on: http://gerrit.openafs.org/9646
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSDirControl.cpp | 44 ++++++++++++++++++++----
1 files changed, 36 insertions(+), 8 deletions(-)
--
OpenAFS Master Repository