]> 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, 13 Feb 2023 13:42:03 +0000 (08:42 -0500)
commit37cc076e658f952ca5ee4f9e22690695f8c1a8dd
tree0c3a335bf2c4de8b5d4bc53c3a8a2513cb76bd26
parent933e6be444f75ceca538d51566e8a4013e8ef336
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