mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 11:27:06 +00:00
[USETUP]
AddPartitionToDisk: Initialize DiskEntry pointer for existing partition entries. svn path=/trunk/; revision=65846
This commit is contained in:
parent
5960c70f39
commit
9eba5bef02
1 changed files with 2 additions and 0 deletions
|
@ -542,6 +542,8 @@ AddPartitionToDisk(
|
|||
return;
|
||||
}
|
||||
|
||||
PartEntry->DiskEntry = DiskEntry;
|
||||
|
||||
PartEntry->StartSector.QuadPart = (ULONGLONG)PartitionInfo->StartingOffset.QuadPart / DiskEntry->BytesPerSector;
|
||||
PartEntry->SectorCount.QuadPart = (ULONGLONG)PartitionInfo->PartitionLength.QuadPart / DiskEntry->BytesPerSector;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue