mirror of
https://github.com/reactos/reactos.git
synced 2026-05-28 11:53:03 +08:00
[MOUNTMGR] Remove cancel routine before completing pending IRP
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user