tst: ntptfs: SetAllocationSizeOnCleanup

This commit is contained in:
Bill Zissimopoulos
2022-01-21 16:00:52 +00:00
parent f28902dd7b
commit 1ef85d5d3a
3 changed files with 52 additions and 14 deletions

View File

@@ -41,20 +41,23 @@ enum
PtfsReparsePoints = 0x00000010,
PtfsNamedStreams = 0x00000040,
PtfsExtendedAttributes = 0x00000100,
PtfsFlushAndPurgeOnCleanup = 0x00004000,
PtfsWslFeatures = 0x04000000,
PtfsFlushAndPurgeOnCleanup = 0x00004000,
PtfsSetAllocationSizeOnCleanup = 0x00010000, // reuse UmFileContextIsUserContext2
PtfsAttributesMask =
PtfsReparsePoints |
PtfsNamedStreams |
PtfsExtendedAttributes |
PtfsWslFeatures |
PtfsFlushAndPurgeOnCleanup |
PtfsWslFeatures,
PtfsSetAllocationSizeOnCleanup,
};
typedef struct
{
FSP_FILE_SYSTEM *FileSystem;
HANDLE RootHandle;
ULONG RootPrefixLength;
ULONG FsAttributeMask;
ULONG FsAttributes;
UINT64 AllocationUnit;
} PTFS;