mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
- Call the DriverStartIo routine at DISPATCH_LEVEL in IoStartPacket.
svn path=/trunk/; revision=9237
This commit is contained in:
parent
e9ee16d561
commit
3c66806fb0
1 changed files with 11 additions and 2 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue