]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Remove BUG_ON() from mas_topiary_range()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 1 Sep 2022 01:10:02 +0000 (21:10 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 1 Sep 2022 21:35:27 +0000 (17:35 -0400)
commit2553b44d5d06c82a2a52931d55fa8632f80f7ea8
tree6a91b71efa6b2aea400348a4778d1614287d99ca
parent1caf23bf770bf61ce74a56bdb28737510fa46238
maple_tree: Remove BUG_ON() from mas_topiary_range()

In the even of trying to remove data from a leaf node by use of
mas_topiary_range(), simply log the issue and return.  This will be
quickly followed by a crash but logging and returning will increase the
probability of meaningful data.

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