From: Pierre Schweitzer Date: Sat, 19 Oct 2019 14:29:37 +0000 (+0200) Subject: [MOUNTMGR] Remove cancel routine before completing pending IRP X-Git-Tag: 0.4.14-RC~1499 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=7b650d2c3ef90cb7ea3fa0029ab2b75835f5fa5c;ds=inline [MOUNTMGR] Remove cancel routine before completing pending IRP --- diff --git a/drivers/filters/mountmgr/notify.c b/drivers/filters/mountmgr/notify.c index 97bc9470376..9a1e7885ac8 100644 --- a/drivers/filters/mountmgr/notify.c +++ b/drivers/filters/mountmgr/notify.c @@ -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);