mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[MOUNTMGR] Remove cancel routine before completing pending IRP
This commit is contained in:
parent
a01b272578
commit
7b650d2c3e
1 changed files with 1 additions and 0 deletions
|
@ -328,6 +328,7 @@ MountMgrNotify(IN PDEVICE_EXTENSION DeviceExtension)
|
|||
{
|
||||
NextEntry = RemoveHeadList(&(DeviceExtension->IrpListHead));
|
||||
Irp = CONTAINING_RECORD(NextEntry, IRP, Tail.Overlay.ListEntry);
|
||||
IoSetCancelRoutine(Irp, NULL);
|
||||
InsertTailList(&CopyList, &(Irp->Tail.Overlay.ListEntry));
|
||||
}
|
||||
IoReleaseCancelSpinLock(OldIrql);
|
||||
|
|
Loading…
Reference in a new issue