mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[KMTESTS:MM]
Bugfix for IRP_MJ_SET_INFORMATION/FileEndOfFileInformation: really set the information. The test still works fine in Windows and still fails hard in ReactOS. svn path=/trunk/; revision=73200
This commit is contained in:
parent
e01923caaa
commit
2fdacdbbd6
1 changed files with 1 additions and 0 deletions
|
@ -477,6 +477,7 @@ TestIrpHandler(
|
|||
ok_bool_false(IoStack->Parameters.SetFile.AdvanceOnly, "AdvanceOnly set!\n");
|
||||
ok(EOFInfo->EndOfFile.QuadPart > Fcb->Header.AllocationSize.QuadPart, "New size smaller\n");
|
||||
|
||||
Fcb->Header.AllocationSize.QuadPart = EOFInfo->EndOfFile.QuadPart;
|
||||
if (CcIsFileCached(IoStack->FileObject))
|
||||
{
|
||||
CcSetFileSizes(IoStack->FileObject, (PCC_FILE_SIZES)(&(Fcb->Header.AllocationSize)));
|
||||
|
|
Loading…
Reference in a new issue