mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 08:53:01 -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) ?
|
FileNode.FileInfo.FileAttributes = 0 != (FileAttributes & (UInt32)System.IO.FileAttributes.Directory) ?
|
||||||
FileAttributes : FileAttributes | (UInt32)System.IO.FileAttributes.Archive;
|
FileAttributes : FileAttributes | (UInt32)System.IO.FileAttributes.Archive;
|
||||||
FileNode.FileSecurity = SecurityDescriptor;
|
FileNode.FileSecurity = SecurityDescriptor;
|
||||||
FileNode.FileInfo.AllocationSize = AllocationSize;
|
|
||||||
if (0 != AllocationSize)
|
if (0 != AllocationSize)
|
||||||
{
|
{
|
||||||
Result = SetFileSizeInternal(FileNode, AllocationSize, true);
|
Result = SetFileSizeInternal(FileNode, AllocationSize, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user