[NTOSKRNL]
[reactos.git] / reactos / ntoskrnl / mm / section.c
index 96295ed..31f5482 100644 (file)
@@ -2998,7 +2998,7 @@ MmCreateDataFileSection(PROS_SECTION_OBJECT *SectionObject,
     if (MaximumSize.QuadPart > FileInfo.EndOfFile.QuadPart)
     {
         Status = IoSetInformation(FileObject,
-                                  FileAllocationInformation,
+                                  FileEndOfFileInformation,
                                   sizeof(LARGE_INTEGER),
                                   &MaximumSize);
         if (!NT_SUCCESS(Status))