]> 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>
Thu, 27 Apr 2023 01:32:00 +0000 (21:32 -0400)
commit431e0038e27762ddee42197f38cc7e303efe55dc
treebf27bc52852155f325b45aca8864da3f52ecfcc4
parentbae4aa69a9a69985af6dd6c958d651a8ad752168
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