mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 10:33:48 +00:00
[NTFS]
Return correct size in FileNetworkOpenInformation operation svn path=/trunk/; revision=68349
This commit is contained in:
parent
53bbe9ea86
commit
c0146f1340
1 changed files with 2 additions and 2 deletions
|
@ -209,8 +209,8 @@ NtfsGetNetworkOpenInformation(PNTFS_FCB Fcb,
|
|||
NetworkInfo->LastWriteTime.QuadPart = FileName->LastWriteTime;
|
||||
NetworkInfo->ChangeTime.QuadPart = FileName->ChangeTime;
|
||||
|
||||
NetworkInfo->EndOfFile.QuadPart = FileName->AllocatedSize;
|
||||
NetworkInfo->AllocationSize.QuadPart = ROUND_UP(FileName->AllocatedSize, DeviceExt->NtfsInfo.BytesPerCluster);
|
||||
NetworkInfo->EndOfFile.QuadPart = Fcb->RFCB.FileSize;
|
||||
NetworkInfo->AllocationSize.QuadPart = Fcb->RFCB.AllocationSize;
|
||||
|
||||
NtfsFileFlagsToAttributes(FileName->FileAttributes, &NetworkInfo->FileAttributes);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue