Properly queue the IRP for deferred execution in case we got pending status

svn path=/trunk/; revision=70780
This commit is contained in:
Pierre Schweitzer 2016-02-24 07:54:20 +00:00
parent 5876421913
commit c0be6ae94e

View file

@ -503,6 +503,11 @@ NtfsDirectoryControl(PNTFS_IRP_CONTEXT IrpContext)
break;
}
if (Status == STATUS_PENDING && IrpContext->Flags & IRPCONTEXT_COMPLETE)
{
return NtfsMarkIrpContextForQueue(IrpContext);
}
IrpContext->Irp->IoStatus.Information = 0;
return Status;