]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Use MAS_WR_BUG_ON() in mas_store_prealloc()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 1 Sep 2022 20:27:51 +0000 (16:27 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 13 Feb 2023 13:42:04 +0000 (08:42 -0500)
commit46f41dbe0a3573e084c1ed728ab71aa29b76c118
tree079011050311dddd3f294291886a76950c4c82dd
parent3ec255a280fa7c3383f22c6e6e840f2f755079db
maple_tree: Use MAS_WR_BUG_ON() in mas_store_prealloc()

mas_store_prealloc() should never fail, but if it does due to internal
tree issues then get as much debug information as possible prior to
crashing the kernel.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c