mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 03:28:38 -05:00 
			
		
		
		
	sys: create: FspFsvolCreate
Only check reparse point ECP if running on OS prior to RS4
This commit is contained in:
		| @@ -169,7 +169,7 @@ static NTSTATUS FspFsvolCreate( | ||||
|             !FsRtlIsEcpFromUserMode(ExtraCreateParameter); | ||||
|  | ||||
| #if defined(FSP_CREATE_REPARSE_POINT_ECP) | ||||
|         if (!HasReparsePointCaseSensitivityFix) | ||||
|         if (!FspHasReparsePointCaseSensitivityFix) | ||||
|         { | ||||
|             // {73d5118a-88ba-439f-92f4-46d38952d250} | ||||
|             static const GUID FspReparsePointEcpGuid = | ||||
|   | ||||
| @@ -235,7 +235,7 @@ static VOID FspDriverMultiVersionInitialize(VOID) | ||||
|         FspMvMdlMappingNoWrite = MdlMappingNoWrite; | ||||
|  | ||||
|     if (RtlIsNtDdiVersionAvailable(0x0A000005/*NTDDI_WIN10_RS4*/)) | ||||
|         HasReparsePointCaseSensitivityFix = TRUE; | ||||
|         FspHasReparsePointCaseSensitivityFix = TRUE; | ||||
| } | ||||
|  | ||||
| #if defined(FSP_UNLOAD) | ||||
| @@ -273,4 +273,4 @@ CACHE_MANAGER_CALLBACKS FspCacheManagerCallbacks; | ||||
| ULONG FspProcessorCount; | ||||
| FSP_MV_CcCoherencyFlushAndPurgeCache *FspMvCcCoherencyFlushAndPurgeCache; | ||||
| ULONG FspMvMdlMappingNoWrite = 0; | ||||
| BOOLEAN HasReparsePointCaseSensitivityFix = FALSE; | ||||
| BOOLEAN FspHasReparsePointCaseSensitivityFix = FALSE; | ||||
|   | ||||
| @@ -1577,7 +1577,7 @@ extern const GUID FspMainFileOpenEcpGuid; | ||||
| extern ULONG FspProcessorCount; | ||||
| extern FSP_MV_CcCoherencyFlushAndPurgeCache *FspMvCcCoherencyFlushAndPurgeCache; | ||||
| extern ULONG FspMvMdlMappingNoWrite; | ||||
| extern BOOLEAN HasReparsePointCaseSensitivityFix; | ||||
| extern BOOLEAN FspHasReparsePointCaseSensitivityFix; | ||||
|  | ||||
| /* | ||||
|  * Fixes | ||||
|   | ||||
		Reference in New Issue
	
	Block a user