mirror of
https://github.com/reactos/reactos.git
synced 2026-06-10 01:42:56 +08:00
[NTFS]
Return correct size in FileNetworkOpenInformation operation svn path=/trunk/; revision=68349
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user