mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[USETUP]
AddPartitionToDisk: Initialize DiskEntry pointer for existing partition entries. svn path=/trunk/; revision=65846
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user