OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3644-gf9dac53
Gerrit Code Review
gerrit@openafs.org
Fri, 22 Mar 2013 07:30:06 -0700 (PDT)
The following commit has been merged in the master branch:
commit f9dac53a75aff66696f78255ed08cc49c696d337
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.
Change-Id: Ic35dcff31f1098b9f40f3a37534b79439e0e3f1f
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>
src/WINNT/afsrdr/kernel/lib/AFSDirControl.cpp | 44 ++++++++++++++++++++----
1 files changed, 36 insertions(+), 8 deletions(-)
--
OpenAFS Master Repository