tst: ntptfs: fix ea size for NTFS compatibility

This commit is contained in:
Bill Zissimopoulos
2022-01-21 17:54:08 +00:00
parent c306a52d19
commit cb98f711f7
3 changed files with 7 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ NTSTATUS LfsGetFileInfo(
FileInfo->ChangeTime = FileAllInfo.V.BasicInformation.ChangeTime.QuadPart;
FileInfo->IndexNumber = FileAllInfo.V.InternalInformation.IndexNumber.QuadPart;
FileInfo->HardLinks = 0;
FileInfo->EaSize = FileAllInfo.V.EaInformation.EaSize;
FileInfo->EaSize = LfsGetEaSize(FileAllInfo.V.EaInformation.EaSize);
if (0 != OpenFileInfo &&
OpenFileInfo->NormalizedNameSize > sizeof(WCHAR) + FileAllInfo.V.NameInformation.FileNameLength &&