]> 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>
Wed, 29 Mar 2023 22:58:38 +0000 (18:58 -0400)
commit8270cb2ae0415c015e4d7dbf8aea4d742c678f9f
treed8a3bc189ab31e076d31893b854826294104f7c0
parent6b67c0be68b4705accc44d65c285732dfc3c6dfe
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