- Call the DriverStartIo routine at DISPATCH_LEVEL in IoStartPacket.

svn path=/trunk/; revision=9237
This commit is contained in:
Hartmut Birr 2004-04-28 20:42:01 +00:00
parent e9ee16d561
commit 3c66806fb0

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -134,14 +134,23 @@ IoStartPacket(PDEVICE_OBJECT DeviceObject,
&Irp->Tail.Overlay.DeviceQueueEntry); &Irp->Tail.Overlay.DeviceQueueEntry);
} }
IoReleaseCancelSpinLock(oldirql);
if (!stat) if (!stat)
{ {
IoReleaseCancelSpinLock(DISPATCH_LEVEL);
DeviceObject->CurrentIrp = Irp; DeviceObject->CurrentIrp = Irp;
DeviceObject->DriverObject->DriverStartIo(DeviceObject,Irp); DeviceObject->DriverObject->DriverStartIo(DeviceObject,Irp);
if (oldirql < DISPATCH_LEVEL)
{
KeLowerIrql(oldirql);
} }
} }
else
{
IoReleaseCancelSpinLock(oldirql);
}
}
/* EOF */ /* EOF */