Fix usetup. This hack needs to remain even though it's incorrect since it's what ROS expects. I am working on rewriting IoCreateFile so these hacks can go away. Please do not remove it
Modified: trunk/reactos/ntoskrnl/io/file.c
--- trunk/reactos/ntoskrnl/io/file.c 2005-05-17 22:15:18 UTC (rev 15391) +++ trunk/reactos/ntoskrnl/io/file.c 2005-05-18 17:17:34 UTC (rev 15392) @@ -1148,7 +1148,7 @@
CreatedFileObject->Vpb = DeviceObject->Vpb; CreatedFileObject->Type = IO_TYPE_FILE; /* HACK */
- //CreatedFileObject->Flags |= FO_DIRECT_DEVICE_OPEN;
+ CreatedFileObject->Flags |= FO_DIRECT_DEVICE_OPEN;
CreatedFileObject->Flags |= FO_STREAM_FILE; /* Initialize Lock and Event */