]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Use MAS_BUG_ON() when setting a leaf node as a parent
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 1 Sep 2022 01:03:02 +0000 (21:03 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 13 Feb 2023 13:42:03 +0000 (08:42 -0500)
commit9a3156ec73dcbf1187de20c1ae4d2940dc3e4cbe
tree2e6cfd77c5c0eaf5280e692c1d3f94731ec90070
parent868b29c9a282739ab106914cd783e8e870451903
maple_tree: Use MAS_BUG_ON() when setting a leaf node as a parent

Use MAS_BUG_ON() to dump the maple state and tree in the unlikely even
of an issue.

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