From: Jeffrey Altman Date: Mon, 11 Aug 2014 05:07:27 +0000 (-0400) Subject: Windows: Reparse Policy vs DFSLinks X-Git-Tag: upstream/1.8.0_pre1^2~605 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d36b8ff8db63ee893941d57422e54ca05e4a1564;p=packages%2Fo%2Fopenafs.git Windows: Reparse Policy vs DFSLinks When a reparse policy is specified and AFSLocateNameEntry() returns with STATUS_REPARSE, do not re-evaluate the path with the reparse policy disabled. STATUS_REPARSE was returned because the FileObject's FileName was modified and the IO Manager needs to reparse the request. Change-Id: I290837357793d3961833923ea1d5300d08bf7dfc Reviewed-on: http://gerrit.openafs.org/11397 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- diff --git a/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp b/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp index 50554821d..71d18fb70 100644 --- a/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp +++ b/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp @@ -700,7 +700,6 @@ AFSCommonCreate( IN PDEVICE_OBJECT DeviceObject, &uniComponentName); if ( ntStatus == STATUS_SUCCESS || - ntStatus == STATUS_REPARSE || ntStatus == STATUS_OBJECT_NAME_NOT_FOUND || ntStatus == STATUS_ACCESS_DENIED) {