Author: ekohl
Date: Mon Jun 1 14:26:58 2015
New Revision: 67989
URL:
http://svn.reactos.org/svn/reactos?rev=67989&view=rev
Log:
[CDFS]
Do not complete an IRP that will be passed down to a lower driver.
Modified:
trunk/reactos/drivers/filesystems/cdfs/devctrl.c
Modified: trunk/reactos/drivers/filesystems/cdfs/devctrl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/d…
==============================================================================
--- trunk/reactos/drivers/filesystems/cdfs/devctrl.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/cdfs/devctrl.c [iso-8859-1] Mon Jun 1 14:26:58
2015
@@ -25,6 +25,8 @@
PVCB Vcb = NULL;
PFILE_OBJECT FileObject;
PIO_STACK_LOCATION Stack;
+
+ DPRINT("CdfsDeviceControl()\n");
ASSERT(IrpContext);
@@ -59,6 +61,10 @@
/* Pass it to storage driver */
IoSkipCurrentIrpStackLocation(Irp);
Vcb = (PVCB)Stack->DeviceObject->DeviceExtension;
+
+ /* Lower driver will complete - we don't have to */
+ IrpContext->Flags &= ~IRPCONTEXT_COMPLETE;
+
Status = IoCallDriver(Vcb->StorageDevice, Irp);
}