tst: ntptfs: fix ea size for NTFS compatibility

This commit is contained in:
Bill Zissimopoulos
2022-01-21 18:35:24 +00:00
parent c306a52d19
commit cb98f711f7
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -127,6 +127,11 @@ NTSTATUS LfsFsControlFile(
PVOID OutputBuffer,
ULONG OutputBufferLength,
PULONG PBytesTransferred);
static inline
ULONG LfsGetEaSize(ULONG EaSize)
{
return 0 != EaSize ? EaSize - 4 : 0;
}
/*