]> 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>
Fri, 30 Oct 2020 19:04:35 +0000 (15:04 -0400)
commit79aa3e54e2df9fa7a9c7024d91733f2784faac25
treeeac4a7443a5edae4c943d78776b75eb59c85215c
parente94462e2653a1b52621bfd5e456ed5e5850fe1db
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