Author: pschweitzer
Date: Wed Jun 17 20:33:08 2015
New Revision: 68179
URL:
http://svn.reactos.org/svn/reactos?rev=68179&view=rev
Log:
[CDFS]
Don't attempt to complete an IRP that was took over by FsRtl.
CORE-9777 #resolve #comment Fixed in r68179
Modified:
trunk/reactos/drivers/filesystems/cdfs/dirctl.c
Modified: trunk/reactos/drivers/filesystems/cdfs/dirctl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/d…
==============================================================================
--- trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] Wed Jun 17 20:33:08 2015
@@ -751,7 +751,8 @@
static NTSTATUS
CdfsNotifyChangeDirectory(PDEVICE_OBJECT DeviceObject,
- PIRP Irp)
+ PIRP Irp,
+ PCDFS_IRP_CONTEXT IrpContext)
{
PDEVICE_EXTENSION DeviceExtension;
PFCB Fcb;
@@ -779,6 +780,9 @@
NULL,
NULL);
+ /* We won't handle IRP completion */
+ IrpContext->Flags &= ~IRPCONTEXT_COMPLETE;
+
return STATUS_PENDING;
}
@@ -809,7 +813,7 @@
case IRP_MN_NOTIFY_CHANGE_DIRECTORY:
Status = CdfsNotifyChangeDirectory(DeviceObject,
- Irp);
+ Irp, IrpContext);
break;
default: