From 0a91292e0502d6629f9a968a168c6e89eea69ea1 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Sat, 2 Apr 2022 18:11:54 +0100 Subject: [PATCH] tst: ntptfs: PostDispositionWhenNecessaryOnly --- tst/ntptfs/ptfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);