mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 19:25:36 +00:00
[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:
@@ -646,7 +646,7 @@ CcRosCreateVacb (
|
||||
|
||||
DPRINT("CcRosCreateVacb()\n");
|
||||
|
||||
if (FileOffset >= SharedCacheMap->FileSize.QuadPart)
|
||||
if (FileOffset >= SharedCacheMap->SectionSize.QuadPart)
|
||||
{
|
||||
*Vacb = NULL;
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
|
||||
Reference in New Issue
Block a user