]> 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>
Wed, 29 Mar 2023 22:58:39 +0000 (18:58 -0400)
commit47f240130f77fc8c6a3e995d02813d2a6a992f68
tree075c51b52ec2f8efdda4f428d9b50b492487dd01
parentd37e178192ad041c4395c3926154a5b5931b51dc
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