Windows: CreateFile Reparse Point to File as File
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 4 Mar 2013 04:10:51 +0000 (23:10 -0500)
committerJeffrey Altman <jaltman@your-file-system.com>
Wed, 8 May 2013 00:39:36 +0000 (17:39 -0700)
commit6a3eca32a6a89bf533d3075ac5cb3b24da1b1326
treedc4c243be1d511dce536b19508f11cf252259af2
parentdfd8ec397cc24b7ed991a5ef9c544162a7228abc
Windows: CreateFile Reparse Point to File as File

Apply the Reparse Point to File as File Policy to CreateFile.  If the
FILE_OPEN_REPARSE_POINT flag is specified to the CreateFile operation
and AFSIgnoreReparsePointToFile() returns TRUE, evaluate the target
object (if possible) and if the object is a FILE, then ignore the
FILE_OPEN_REPARSE_POINT flag.  Otherwise, re-evaluate the request to
attempt to open a reparse point if it exists.

Change-Id: Ia1a3d5f4c4d638d7d94209c9b4a9dfc2e8aa2005
Reviewed-on: http://gerrit.openafs.org/9343
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/common/AFSRedirCommonDefines.h
src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp