]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Return error on 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>
Fri, 2 Sep 2022 19:41:04 +0000 (15:41 -0400)
commitb96fc90cbaae01a2d4e6759e103a3a3189552909
tree3f8c8773eecf43cbe2baf1f49e56b5f2be00f78a
parent2553b44d5d06c82a2a52931d55fa8632f80f7ea8
maple_tree: Return error on mas_store_prealloc()

mas_store_prealloc() should never fail, but if it does due to internal
tree issues then return the error message and WARN_ON().

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