]> 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>
Tue, 13 Dec 2022 21:22:36 +0000 (16:22 -0500)
commit5b29dd996a3e5f0427a4f478c51ae8fa26ee1764
tree3d97ebd75a96fdda323f91e30720e4cb6a11850d
parent9eaa08eaf833f6a14b5f4a8324bf529a492eb1f7
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