[FASTFAT]
authorPierre Schweitzer <pierre@reactos.org>
Thu, 25 Feb 2016 20:52:55 +0000 (20:52 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Thu, 25 Feb 2016 20:52:55 +0000 (20:52 +0000)
Don't mark a pending IRP twice

svn path=/trunk/; revision=70788

reactos/drivers/filesystems/fastfat/dir.c

index 61e44cd..40aa051 100644 (file)
@@ -508,7 +508,7 @@ DoQuery(
                                         BooleanFlagOn(IrpContext->Flags, IRPCONTEXT_CANWAIT)))
     {
         ExReleaseResourceLite(&pFcb->MainResource);
                                         BooleanFlagOn(IrpContext->Flags, IRPCONTEXT_CANWAIT)))
     {
         ExReleaseResourceLite(&pFcb->MainResource);
-        return VfatMarkIrpContextForQueue(IrpContext);
+        return STATUS_PENDING;
     }
 
     while ((Status == STATUS_SUCCESS) && (BufferLength > 0))
     }
 
     while ((Status == STATUS_SUCCESS) && (BufferLength > 0))