mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -134,13 +134,22 @@ IoStartPacket(PDEVICE_OBJECT DeviceObject,
|
|||
&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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue