Author: jgardou
Date: Thu Feb 16 17:22:54 2012
New Revision: 55643
URL:
http://svn.reactos.org/svn/reactos?rev=55643&view=rev
Log:
[NTOSKRNL/MM]
- fix returned value in case of failure in MiFindEmptyAddressRangeDownTree
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c [iso-8859-1] Thu Feb 16 17:22:54 2012
@@ -380,7 +380,7 @@
/* Compute page length, make sure the boundary address is valid */
Length = ROUND_TO_PAGES(Length);
PageCount = Length >> PAGE_SHIFT;
- if ((BoundaryAddress + 1) < Length) return STATUS_NO_MEMORY;
+ if ((BoundaryAddress + 1) < Length) return TableFoundNode;
/* Check if the table is empty */
if (Table->NumberGenericTableElements == 0)