fix boot on vmware Modified: trunk/reactos/ntoskrnl/io/driver.c _____
Modified: trunk/reactos/ntoskrnl/io/driver.c --- trunk/reactos/ntoskrnl/io/driver.c 2005-05-19 01:46:49 UTC (rev 15404) +++ trunk/reactos/ntoskrnl/io/driver.c 2005-05-19 01:58:24 UTC (rev 15405) @@ -218,7 +218,7 @@
{ return Status; } - + Status = ObInsertObject(Object, NULL, FILE_ALL_ACCESS, @@ -229,7 +229,9 @@ { return Status; } - + + /* This function shouldn't be called twice for the same driver anyways..why is it? */ +#if 0 if (Status == STATUS_OBJECT_EXISTS) { /* The driver object already exists, so it is already @@ -237,7 +239,7 @@ *DriverObject = Object; return STATUS_SUCCESS; } - +#endif /* Create driver extension */ Object->DriverExtension = (PDRIVER_EXTENSION) ExAllocatePoolWithTag(