From: Pierre Schweitzer Date: Wed, 24 Feb 2016 07:54:20 +0000 (+0000) Subject: [NTFS] X-Git-Tag: ReactOS-0.4.1~435 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=c0be6ae94e4185294e0a4bd9325f16275651c5db;ds=sidebyside [NTFS] Properly queue the IRP for deferred execution in case we got pending status svn path=/trunk/; revision=70780 --- diff --git a/reactos/drivers/filesystems/ntfs/dirctl.c b/reactos/drivers/filesystems/ntfs/dirctl.c index 86f8716de58..c19bf6b77d0 100644 --- a/reactos/drivers/filesystems/ntfs/dirctl.c +++ b/reactos/drivers/filesystems/ntfs/dirctl.c @@ -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;