diff --git a/tst/ntptfs/ptfs.c b/tst/ntptfs/ptfs.c index 93ef7a36..e834b355 100644 --- a/tst/ntptfs/ptfs.c +++ b/tst/ntptfs/ptfs.c @@ -1279,7 +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.PostDispositionWhenNecessaryOnly = 1; VolumeParams.PassQueryDirectoryPattern = 1; VolumeParams.FlushAndPurgeOnCleanup = !!(FsAttributeMask & PtfsFlushAndPurgeOnCleanup); VolumeParams.WslFeatures = !!(FsAttributeMask & PtfsWslFeatures);