Commit in reactos/ntoskrnl/io on MAIN
queue.c+11-21.13 -> 1.14
- Call the DriverStartIo routine at DISPATCH_LEVEL in IoStartPacket.

reactos/ntoskrnl/io
queue.c 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- queue.c	10 Jul 2003 15:47:00 -0000	1.13
+++ queue.c	28 Apr 2004 20:42:01 -0000	1.14
@@ -1,4 +1,4 @@
-/* $Id: queue.c,v 1.13 2003/07/10 15:47:00 royce Exp $
+/* $Id: queue.c,v 1.14 2004/04/28 20:42:01 hbirr Exp $
  *
  * COPYRIGHT:                See COPYING in the top level directory
  * PROJECT:                  ReactOS kernel
@@ -134,13 +134,22 @@
 				   &Irp->Tail.Overlay.DeviceQueueEntry);
      }
    
-   IoReleaseCancelSpinLock(oldirql);
    
    if (!stat)
      {			   
+        IoReleaseCancelSpinLock(DISPATCH_LEVEL);
         DeviceObject->CurrentIrp = Irp;
 	DeviceObject->DriverObject->DriverStartIo(DeviceObject,Irp);
+	if (oldirql < DISPATCH_LEVEL)
+	  {
+            KeLowerIrql(oldirql);
+        }
      }
+   else
+     {
+        IoReleaseCancelSpinLock(oldirql);
+     }
+
 }
 
 
CVSspam 0.2.8