]> 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>
Thu, 1 Sep 2022 21:35:27 +0000 (17:35 -0400)
commitb74bbd6015bc576f5a30e9ad1afdf61bfa018c94
tree21fee86c4defd8b9724ecaf2018ec80c117b8ab5
parentfa69110591ed0b040cc94d2be39255f6713fc02a
maple_tree: Change rcu checks to WARN_ON() instead of BUG_ON()

If RCU is enabled and the tree changes, just warn the user and avoid
crashing the kernel.

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