mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tst: memfs-dotnet: Create: fix allocation size
This commit is contained in:
parent
d18a2c8b75
commit
bd7546559c
@ -341,7 +341,6 @@ namespace memfs
|
||||
FileNode.FileInfo.FileAttributes = 0 != (FileAttributes & (UInt32)System.IO.FileAttributes.Directory) ?
|
||||
FileAttributes : FileAttributes | (UInt32)System.IO.FileAttributes.Archive;
|
||||
FileNode.FileSecurity = SecurityDescriptor;
|
||||
FileNode.FileInfo.AllocationSize = AllocationSize;
|
||||
if (0 != AllocationSize)
|
||||
{
|
||||
Result = SetFileSizeInternal(FileNode, AllocationSize, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user