kernel/vm: Insertion into the Areas AVL tree can fail.
So we need to check that it didn't when creating areas. Change-Id: I4342463113046b543722faa7a51ca269ed67e8bf Reviewed-on: https://review.haiku-os.org/c/haiku/+/8137 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
be52613c12
commit
dadc497fbc
@@ -219,7 +219,7 @@ struct VMAreas {
|
||||
{ return sTree.Find(id); }
|
||||
static VMArea* Lookup(area_id id);
|
||||
static area_id Find(const char* name);
|
||||
static void Insert(VMArea* area);
|
||||
static status_t Insert(VMArea* area);
|
||||
static void Remove(VMArea* area);
|
||||
|
||||
static VMAreasTree::Iterator GetIterator()
|
||||
|
||||
Reference in New Issue
Block a user