From 6d262bb7554a238a1d4868f69c71fe3c3ce1c25d Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sun, 8 Oct 2006 07:59:30 +0000 Subject: [PATCH] - Whoops, don't call IopReassignSystemRoot twice. svn path=/trunk/; revision=24441 --- reactos/ntoskrnl/io/iomgr/iomgr.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/reactos/ntoskrnl/io/iomgr/iomgr.c b/reactos/ntoskrnl/io/iomgr/iomgr.c index d8d0fdd4ec0..e4b878d97b8 100644 --- a/reactos/ntoskrnl/io/iomgr/iomgr.c +++ b/reactos/ntoskrnl/io/iomgr/iomgr.c @@ -476,20 +476,11 @@ STDCALL 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 @@ IoInit3(VOID) IopReinitializeDrivers(); /* Convert SystemRoot from ARC to NT path */ - if (!IopReassignSystemRoot(KeLoaderBlock, &NtBootPath)) KEBUGCHECK(0); + IopReassignSystemRoot(KeLoaderBlock, &NtBootPath); /* Assign drive letters */ IoAssignDriveLetters(KeLoaderBlock,