From: Eric Kohl Date: Thu, 17 Jun 2010 19:41:52 +0000 (+0000) Subject: [NTOSKRNL] X-Git-Tag: backups/Ash_Shell@48412~1^2~447 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=e5bc385e899c57f9a023f1ed0790f957c46bc438 [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 --- diff --git a/reactos/ntoskrnl/fstub/disksup.c b/reactos/ntoskrnl/fstub/disksup.c index 29c3dc9ea91..ce184bcdced 100644 --- a/reactos/ntoskrnl/fstub/disksup.c +++ b/reactos/ntoskrnl/fstub/disksup.c @@ -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 +