Author: dgorbachev
Date: Mon Jun 4 02:12:28 2007
New Revision: 26984
URL:
http://svn.reactos.org/svn/reactos?rev=26984&view=rev
Log:
- Remove corresponding kernel hack.
Modified:
trunk/reactos/ntoskrnl/config/cmsysini.c
Modified: trunk/reactos/ntoskrnl/config/cmsysini.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmsysini.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmsysini.c (original)
+++ trunk/reactos/ntoskrnl/config/cmsysini.c Mon Jun 4 02:12:28 2007
@@ -251,26 +251,17 @@
NULL,
NULL);
- /* The key has been created by mkhive */
- if ((CmpMiniNTBoot) && (CmpShareSystemHives))
- {
- Status = NtOpenKey(&KeyHandle, KEY_READ | KEY_WRITE, &ObjectAttributes);
- if (!NT_SUCCESS(Status)) return Status;
- }
- else
- {
- Status = NtCreateKey(&KeyHandle,
- KEY_CREATE_LINK,
- &ObjectAttributes,
- 0,
- NULL,
- REG_OPTION_VOLATILE | REG_OPTION_CREATE_LINK,
- &Disposition);
- if (!NT_SUCCESS(Status)) return Status;
-
- /* Sanity check */
- ASSERT(Disposition == REG_CREATED_NEW_KEY);
- }
+ Status = NtCreateKey(&KeyHandle,
+ KEY_CREATE_LINK,
+ &ObjectAttributes,
+ 0,
+ NULL,
+ REG_OPTION_VOLATILE | REG_OPTION_CREATE_LINK,
+ &Disposition);
+ if (!NT_SUCCESS(Status)) return Status;
+
+ /* Sanity check */
+ ASSERT(Disposition == REG_CREATED_NEW_KEY);
/* Initialize the symbolic link name */
sprintf(Buffer,