]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Use MAS_BUG_ON() in mas_set_height()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 1 Sep 2022 01:06:49 +0000 (21:06 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 27 Apr 2023 01:32:00 +0000 (21:32 -0400)
commitadf5e1ba22fc336c3a1f769cbe7e70b144ab4140
tree159a7412ca818074de679c75361f07f63ae185dd
parentcf4fb11ae4ea9a07d3396516eb636b9f5276bd29
maple_tree: Use MAS_BUG_ON() in mas_set_height()

Use MAS_BUG_ON() instead of MT_BUG_ON() to get the maple state
information.  In the unlikely even of a tree height of > 31, try to increase
the probability of useful information being logged.

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