]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix limits check with retry entries
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 17 Apr 2020 19:19:47 +0000 (15:19 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:28:27 +0000 (12:28 -0500)
commit81986f380b95bcf68673beef1482c1b4dead1a91
tree7f694862138fc464f82a744aa8f569ab56ede926
parent59440ca16bd5df6cfcf9f3ae23ac2d8419c38d35
maple_tree: Fix limits check with retry entries

When entries are relocated, the retry entry may not fall within the
limits of this node as it has been relocated to the next node.

Also, add define U8_MAX UCHAR_MAX in test code.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/maple_tree.c
lib/test_maple_tree.c
tools/testing/radix-tree/linux/maple_tree.h