Return correct size in FileNetworkOpenInformation operation
svn path=/trunk/; revision=68349
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);