mirror of
https://github.com/reactos/reactos.git
synced 2024-10-07 01:44:21 +00:00
- 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:
parent
65b34c3e18
commit
28e480b966
|
@ -678,7 +678,7 @@ VfatRead(PVFAT_IRP_CONTEXT IrpContext)
|
||||||
(BOOLEAN)(IrpContext->Flags & IRPCONTEXT_CANWAIT), Buffer,
|
(BOOLEAN)(IrpContext->Flags & IRPCONTEXT_CANWAIT), Buffer,
|
||||||
&IrpContext->Irp->IoStatus))
|
&IrpContext->Irp->IoStatus))
|
||||||
{
|
{
|
||||||
Status = IrpContext->Irp->IoStatus.Status;//STATUS_PENDING;
|
Status = STATUS_PENDING;
|
||||||
goto ByeBye;
|
goto ByeBye;
|
||||||
}
|
}
|
||||||
if (!NT_SUCCESS(IrpContext->Irp->IoStatus.Status))
|
if (!NT_SUCCESS(IrpContext->Irp->IoStatus.Status))
|
||||||
|
|
Loading…
Reference in a new issue