[ros-diffs] [ekohl] 47799: [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.

ekohl at svn.reactos.org ekohl at svn.reactos.org
Thu Jun 17 19:41:55 UTC 2010


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?rev=47799&r1=47798&r2=47799&view=diff
==============================================================================
--- 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 +




More information about the Ros-diffs mailing list