[NTOSKRNL]

- Use the current partition descriptor to check for container partitions. Logical units in extended partitions become visible again but you cannot access them yet.
This fixes the first half of bug #2564.

svn path=/trunk/; revision=47799
This commit is contained in:
Eric Kohl 2010-06-17 19:41:52 +00:00
parent 57d80a50d5
commit e5bc385e89

View file

@ -1686,7 +1686,7 @@ xHalIoReadPartitionTable(IN PDEVICE_OBJECT DeviceObject,
for (Entry = 1; Entry <= 4; Entry++, PartitionDescriptor++)
{
/* Check if this is a container partition, since we skipped them */
if (IsContainerPartition(PartitionType))
if (IsContainerPartition(PartitionDescriptor->PartitionType))
{
/* Get its offset */
Offset.QuadPart = VolumeOffset.QuadPart +