mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 09:22:57 -05:00
sys: FspFsvolFileSystemControlReparsePoint: replace use of RtlEqualUnicodeString with FspFsvolDeviceVolumePrefixInString
This commit is contained in:
@ -205,9 +205,7 @@ static NTSTATUS FspFsvolFileSystemControlReparsePoint(
|
||||
TargetFileNameIndex += FsvolDeviceExtension->VolumePrefix.Length;
|
||||
|
||||
if (TargetFileNameIndex < ReparseTargetPathLength &&
|
||||
RtlEqualUnicodeString(&FsvolDeviceExtension->VolumePrefix,
|
||||
&TargetObjectName,
|
||||
FSP_VOLUME_PREFIX_CASE_INS))
|
||||
FspFsvolDeviceVolumePrefixInString(FsvolDeviceObject, &TargetObjectName))
|
||||
TargetOnFileSystem = (UINT16)TargetFileNameIndex;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user