mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:02:16 +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:
parent
d14a8724c0
commit
d3a5befca6
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ CcRosCreateVacb (
|
|||
|
||||
DPRINT("CcRosCreateVacb()\n");
|
||||
|
||||
if (FileOffset >= SharedCacheMap->FileSize.QuadPart)
|
||||
if (FileOffset >= SharedCacheMap->SectionSize.QuadPart)
|
||||
{
|
||||
*Vacb = NULL;
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue