From eea0b1bc799678390293959b567df032238649b4 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Sun, 7 May 2017 17:11:39 -0700 Subject: [PATCH] src: dotnet: GetReparseTag --- src/dotnet/FileSystemBase.cs | 2 +- src/dotnet/Interop.cs | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/dotnet/FileSystemBase.cs b/src/dotnet/FileSystemBase.cs index afe944ce..24ae8432 100644 --- a/src/dotnet/FileSystemBase.cs +++ b/src/dotnet/FileSystemBase.cs @@ -453,7 +453,7 @@ namespace Fsp public static UInt32 GetReparseTag( Byte[] ReparseData) { - return Api.GetReparseTag(ReparseData); + return BitConverter.ToUInt32(ReparseData, 0); } public static Int32 CanReplaceReparsePoint( Byte[] CurrentReparseData, diff --git a/src/dotnet/Interop.cs b/src/dotnet/Interop.cs index be1874ac..33f62e80 100644 --- a/src/dotnet/Interop.cs +++ b/src/dotnet/Interop.cs @@ -849,11 +849,6 @@ namespace Fsp.Interop else return null; } - internal unsafe static UInt32 GetReparseTag( - Byte[] ReparseData) - { - return 0; - } internal unsafe static Int32 FspFileSystemCanReplaceReparsePoint( Byte[] CurrentReparseData, Byte[] ReplaceReparseData)