projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a01b272
)
[MOUNTMGR] Remove cancel routine before completing pending IRP
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 19 Oct 2019 14:29:37 +0000
(16:29 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 19 Oct 2019 14:59:57 +0000
(16:59 +0200)
drivers/filters/mountmgr/notify.c
patch
|
blob
|
history
diff --git
a/drivers/filters/mountmgr/notify.c
b/drivers/filters/mountmgr/notify.c
index
97bc947
..
9a1e788
100644
(file)
--- 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);