]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Change RCU checks to WARN_ON() instead of BUG_ON()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 1 Sep 2022 21:33:43 +0000 (17:33 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 28 Nov 2022 20:18:34 +0000 (15:18 -0500)
commit9ec93f67aa0ffd6f3743c13afa91831577b1879d
treebe845b040af5e31cb4ce9ec6dae587ae7ca7bbfe
parent0a0552ae3c7c8cf38f616becff95e777e1880659
maple_tree: Change RCU checks to WARN_ON() instead of BUG_ON()

If RCU is enabled and the tree isn't locked, just warn the user and
avoid crashing the kernel.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
include/linux/maple_tree.h