inc,sys,tst: fsctl: PostDispositionForDirOnly

This commit is contained in:
Bill Zissimopoulos
2022-04-01 20:54:36 +01:00
parent f6fef97a10
commit 98421fe11b
4 changed files with 48 additions and 11 deletions

View File

@ -1279,6 +1279,7 @@ NTSTATUS PtfsCreate(
/*FILE_SUPPORTS_POSIX_UNLINK_RENAME*/);
VolumeParams.ReadOnlyVolume = !!(FsAttrInfo.V.FileSystemAttributes & FILE_READ_ONLY_VOLUME);
VolumeParams.PostCleanupWhenModifiedOnly = 1;
VolumeParams.PostDispositionForDirOnly = 1;
VolumeParams.PassQueryDirectoryPattern = 1;
VolumeParams.FlushAndPurgeOnCleanup = !!(FsAttributeMask & PtfsFlushAndPurgeOnCleanup);
VolumeParams.WslFeatures = !!(FsAttributeMask & PtfsWslFeatures);