mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +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:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user