[ros-diffs] [dgorbachev] 39721: Call IopEnumerateDevice() later, after IopCreateArcNames().

dgorbachev at svn.reactos.org dgorbachev at svn.reactos.org
Mon Feb 23 14:17:08 CET 2009


Author: dgorbachev
Date: Mon Feb 23 16:17:07 2009
New Revision: 39721

URL: http://svn.reactos.org/svn/reactos?rev=39721&view=rev
Log:
Call IopEnumerateDevice() later, after IopCreateArcNames().

Modified:
    trunk/reactos/ntoskrnl/io/iomgr/iomgr.c

Modified: trunk/reactos/ntoskrnl/io/iomgr/iomgr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/iomgr.c?rev=39721&r1=39720&r2=39721&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] Mon Feb 23 16:17:07 2009
@@ -496,9 +496,6 @@
     /* Call back drivers that asked for */
     IopReinitializeBootDrivers();
 
-    /* Initialize PnP root relations */
-    IopEnumerateDevice(IopRootDeviceNode->PhysicalDeviceObject);
-
     /* Check if this was a ramdisk boot */
     if (!_strnicmp(LoaderBlock->ArcBootDeviceName, "ramdisk(0)", 10))
     {
@@ -512,6 +509,9 @@
     /* Mark the system boot partition */
     if (!IopMarkBootPartition(LoaderBlock)) return FALSE;
 
+    /* Initialize PnP root relations */
+    IopEnumerateDevice(IopRootDeviceNode->PhysicalDeviceObject);
+
 #ifndef _WINKD_
     /* Read KDB Data */
     KdbInit();



More information about the Ros-diffs mailing list