Commit in reactos/ntoskrnl/io on MAIN
device.c+3-21.69 -> 1.70
- Don't bugcheck if FDO wasn't attached.

reactos/ntoskrnl/io
device.c 1.69 -> 1.70
diff -u -r1.69 -r1.70
--- device.c	27 Mar 2004 19:41:32 -0000	1.69
+++ device.c	8 Apr 2004 16:01:47 -0000	1.70
@@ -1,4 +1,4 @@
-/* $Id: device.c,v 1.69 2004/03/27 19:41:32 navaraf Exp $
+/* $Id: device.c,v 1.70 2004/04/08 16:01:47 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