Sync trunk.
[reactos.git] / drivers / filesystems / npfs / npfs.c
index ed6d600..147f410 100644 (file)
@@ -70,6 +70,7 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
 
     /* initialize the device object */
     DeviceObject->Flags |= DO_DIRECT_IO;
+    DeviceObject->Flags &= ~DO_DEVICE_INITIALIZING;
 
     /* initialize the device extension */
     DeviceExtension = DeviceObject->DeviceExtension;