Author: ion
Date: Sun Oct 8 11:59:30 2006
New Revision: 24441
URL:
http://svn.reactos.org/svn/reactos?rev=24441&view=rev
Log:
- Whoops, don't call IopReassignSystemRoot twice.
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?…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/iomgr.c (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/iomgr.c Sun Oct 8 11:59:30 2006
@@ -476,20 +476,11 @@
INIT_FUNCTION
IoInit3(VOID)
{
- NTSTATUS Status;
ANSI_STRING NtBootPath;
/* Create ARC names for boot devices */
IoCreateArcNames();
- /* Create the SystemRoot symbolic link */
- DPRINT("CommandLine: %s\n", KeLoaderBlock->LoadOptions);
- Status = IopReassignSystemRoot(KeLoaderBlock, &NtBootPath);
- if (!NT_SUCCESS(Status)) {
- CPRINT("IoCreateSystemRootLink FAILED: (0x%x) - ", Status);
- KEBUGCHECK(INACCESSIBLE_BOOT_DEVICE);
- }
-
/* Read KDB Data */
KdbInit();
@@ -509,7 +500,7 @@
IopReinitializeDrivers();
/* Convert SystemRoot from ARC to NT path */
- if (!IopReassignSystemRoot(KeLoaderBlock, &NtBootPath)) KEBUGCHECK(0);
+ IopReassignSystemRoot(KeLoaderBlock, &NtBootPath);
/* Assign drive letters */
IoAssignDriveLetters(KeLoaderBlock,