mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +00:00
[CDFS]
Do not complete an IRP that will be passed down to a lower driver. svn path=/trunk/; revision=67989
This commit is contained in:
parent
2ae749ea34
commit
d284e715f4
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,8 @@ CdfsDeviceControl(
|
|||
PFILE_OBJECT FileObject;
|
||||
PIO_STACK_LOCATION Stack;
|
||||
|
||||
DPRINT("CdfsDeviceControl()\n");
|
||||
|
||||
ASSERT(IrpContext);
|
||||
|
||||
Irp = IrpContext->Irp;
|
||||
|
@ -59,6 +61,10 @@ CdfsDeviceControl(
|
|||
/* 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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue