[NTOSKRNL]

When we're really not able to init cache for creating a file section, return the appropriate status code

svn path=/trunk/; revision=73327
This commit is contained in:
Pierre Schweitzer 2016-11-20 20:55:17 +00:00
parent 49691778cd
commit d36b97a1dc

View file

@ -3039,7 +3039,7 @@ MmCreateDataFileSection(PROS_SECTION_OBJECT *SectionObject,
/* FIXME: handle this situation */
ObDereferenceObject(Section);
ObDereferenceObject(FileObject);
return STATUS_INVALID_PARAMETER;
return STATUS_INVALID_FILE_FOR_SECTION;
}
}