]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Remove BUG_ON() from ma_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>
Tue, 13 Dec 2022 21:22:37 +0000 (16:22 -0500)
commit321899249bb7a6bd4e94fe82c93051e97b56fc88
tree0fa2c4cecd69bb73740ad294c4f259ace77d51a3
parent56283ced84028d429be20b11024cde854d1a1d26
maple_tree: Remove BUG_ON() from ma_meta_gap()

Replace the in-function call to BUG_ON() with calls before the function
call MT_WARN_ON() to get more information on error conditions and to
avoid crashing - although the crash is imminent in this case.

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