]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix splitting causing deficient nodes.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 4 Aug 2020 14:15:41 +0000 (10:15 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:30:12 +0000 (12:30 -0500)
commitfb83e8a3a64769cb25c3d688738001fb1fb91c85
treef3731b994fdb25b1fe98bf751654bd554ef7644c
parent1f9484862dbaad4cc465a8dd5c5660bfab87f384
maple_tree: Fix splitting causing deficient nodes.

When splitting a node, ensure a deficient node is not created when a
NULL in encountered at the split.  Also adjust the checking of the limit
when incrementing to ensure both the min and the number on the right are
zero based.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/maple_tree.c