mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-15 16:22:43 -05:00
inc,sys,tst: fsctl: PostDispositionForDirOnly
This commit is contained in:
@ -2404,6 +2404,7 @@ NTSTATUS MemfsCreateFunnel(
|
||||
VolumeParams.RejectIrpPriorToTransact0 = 1;
|
||||
#endif
|
||||
VolumeParams.SupportsPosixUnlinkRename = SupportsPosixUnlinkRename;
|
||||
VolumeParams.PostDispositionForDirOnly = 1;
|
||||
if (0 != VolumePrefix)
|
||||
wcscpy_s(VolumeParams.Prefix, sizeof VolumeParams.Prefix / sizeof(WCHAR), VolumePrefix);
|
||||
wcscpy_s(VolumeParams.FileSystemName, sizeof VolumeParams.FileSystemName / sizeof(WCHAR),
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user