mirror of
https://github.com/winfsp/winfsp.git
synced 2026-10-15 17:09:54 -05:00
inc,sys,tst: fsctl: PostDispositionForDirOnly
This commit is contained in:
1 parent
f6fef97a10
commit
98421fe11b
4 files changed
+48
-11
No files matched your search
@@ -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