Author: ekohl
Date: Thu Jun 17 19:41:52 2010
New Revision: 47799
URL:
http://svn.reactos.org/svn/reactos?rev=47799&view=rev
Log:
[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.
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] Thu Jun 17 19:41:52 2010
@@ -1686,7 +1686,7 @@
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 +