[NTOSKRNL]

When creating a new VACB, compare file offset to section size and not to file size.
This fixes regression from r73199 where file size isn't changed anylonger, but section size is.

CORE-12430
ROSTESTS-248

svn path=/trunk/; revision=73325
This commit is contained in:
Pierre Schweitzer 2016-11-20 18:39:17 +00:00
parent d14a8724c0
commit d3a5befca6

View file

@ -646,7 +646,7 @@ CcRosCreateVacb (
DPRINT("CcRosCreateVacb()\n");
if (FileOffset >= SharedCacheMap->FileSize.QuadPart)
if (FileOffset >= SharedCacheMap->SectionSize.QuadPart)
{
*Vacb = NULL;
return STATUS_INVALID_PARAMETER;