Don't attempt to complete an IRP that was took over by FsRtl.

CORE-9777 #resolve #comment Fixed in r68179

svn path=/trunk/; revision=68179
This commit is contained in:
Pierre Schweitzer 2015-06-17 20:33:08 +00:00
parent 928bb9e412
commit a29eac1548

View file

@ -751,7 +751,8 @@ CdfsQueryDirectory(PDEVICE_OBJECT DeviceObject,
static NTSTATUS
CdfsNotifyChangeDirectory(PDEVICE_OBJECT DeviceObject,
PIRP Irp)
PIRP Irp,
PCDFS_IRP_CONTEXT IrpContext)
{
PDEVICE_EXTENSION DeviceExtension;
PFCB Fcb;
@ -779,6 +780,9 @@ CdfsNotifyChangeDirectory(PDEVICE_OBJECT DeviceObject,
NULL,
NULL);
/* We won't handle IRP completion */
IrpContext->Flags &= ~IRPCONTEXT_COMPLETE;
return STATUS_PENDING;
}
@ -809,7 +813,7 @@ CdfsDirectoryControl(
case IRP_MN_NOTIFY_CHANGE_DIRECTORY:
Status = CdfsNotifyChangeDirectory(DeviceObject,
Irp);
Irp, IrpContext);
break;
default: