- Revert 25073 (vfatfs part). CcCopyRead is guaranteed (see WDK) to succeed if Wait parameter is TRUE, and the only case of failure is when Wait is FALSE meaning there is a need in additional processing time, hence returning of STATUS_PENDING. This fixes the "unable to read system hive" problem when booting Windows 2003 with this driver.

See issue #1855 for more details.

svn path=/trunk/; revision=37272
This commit is contained in:
Aleksey Bragin 2008-11-10 09:57:42 +00:00
parent 65b34c3e18
commit 28e480b966

View file

@ -678,7 +678,7 @@ VfatRead(PVFAT_IRP_CONTEXT IrpContext)
(BOOLEAN)(IrpContext->Flags & IRPCONTEXT_CANWAIT), Buffer,
&IrpContext->Irp->IoStatus))
{
Status = IrpContext->Irp->IoStatus.Status;//STATUS_PENDING;
Status = STATUS_PENDING;
goto ByeBye;
}
if (!NT_SUCCESS(IrpContext->Irp->IoStatus.Status))