Commit in reactos/ntoskrnl/io on ros-branch-0_2_2
device.c+3-21.69 -> 1.69.2.1
- Don't bugcheck if FDO wasn't attached.

reactos/ntoskrnl/io
device.c 1.69 -> 1.69.2.1
diff -u -r1.69 -r1.69.2.1
--- device.c	27 Mar 2004 19:41:32 -0000	1.69
+++ device.c	8 Apr 2004 16:06:16 -0000	1.69.2.1
@@ -1,4 +1,4 @@
-/* $Id: device.c,v 1.69 2004/03/27 19:41:32 navaraf Exp $
+/* $Id: device.c,v 1.69.2.1 2004/04/08 16:06:16 navaraf Exp $
  *
  * COPYRIGHT:      See COPYING in the top level directory
  * PROJECT:        ReactOS kernel
@@ -66,7 +66,8 @@
       {
          /* FIXME: What do we do? Unload the driver or just disable the device? */
          DbgPrint("An FDO was not attached\n");
-         KEBUGCHECK(0);
+         IopDeviceNodeSetFlag(DeviceNode, DNF_DISABLED);
+         return STATUS_UNSUCCESSFUL;
       }
 
       IopDeviceNodeSetFlag(DeviceNode, DNF_ADDED);
CVSspam 0.2.8