]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Use MAS_BUG_ON() prior to calling mas_meta_gap()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 1 Sep 2022 20:29:29 +0000 (16:29 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 24 Apr 2023 15:40:44 +0000 (11:40 -0400)
commit4a87b0409d936f480c4527e9b08efe6b4571d76a
treefefa4cc6172d7b97184e918b6353978e03521306
parent8dfb528c4232dee146509b0725db2f0d2cc9fb77
maple_tree: Use MAS_BUG_ON() prior to calling mas_meta_gap()

Replace the call to BUG_ON() in mas_meta_gap() with calls before the
function call MAS_BUG_ON() to get more information on error condition.

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