Author: ekohl
Date: Wed Jun 24 20:22:19 2015
New Revision: 68258
URL:
http://svn.reactos.org/svn/reactos?rev=68258&view=rev
Log:
[NTOSKRNL]
xHalIoReadPartitionTable: Do not return a valid partiton number for container partitions.
Modified:
trunk/reactos/ntoskrnl/fstub/disksup.c
Modified: trunk/reactos/ntoskrnl/fstub/disksup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fstub/disksup.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/fstub/disksup.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fstub/disksup.c [iso-8859-1] Wed Jun 24 20:22:19 2015
@@ -1655,9 +1655,8 @@
UInt32x32To64(GET_PARTITION_LENGTH(PartitionDescriptor),
SectorSize);
- // BUGBUGBUG: The correct partition numbers seem to cause boot
failures!!!
-// PartitionInfo->PartitionNumber =
(!IsContainerPartition(PartitionType)) ? i : 0;
- PartitionInfo->PartitionNumber = i + 1;
+ /* Get the partition number */
+ PartitionInfo->PartitionNumber =
(!IsContainerPartition(PartitionType)) ? i + 1 : 0;
}
else
{