X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=drivers%2Ffilters%2Fmountmgr%2Fnotify.c;h=9a1e7885ac80568093a109f3219683f1444a56e2;hp=97bc9470376b9429229d27f3c3ab7d5a4a93357c;hb=7b650d2c3ef90cb7ea3fa0029ab2b75835f5fa5c;hpb=a01b272578e48ec9c0851c53f6ad0bbe3c5504d8 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);