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