]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: remove mas_destroy() from mas_nomem()
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Mon, 30 Oct 2023 18:50:51 +0000 (14:50 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Sat, 20 Apr 2024 01:40:08 +0000 (21:40 -0400)
commit3fe894e9acce1235fed40161eb024a092a004680
tree38d63fdd96308ae6379ac4fae9668b3fba71a07e
parent00b97c1ee9b4a558b91575c610be8fa0516071d9
maple_tree: remove mas_destroy() from mas_nomem()

Separate call to mas_destroy() from mas_nomem() so we can check for no
memory errors without destroying the current maple state in mas_store_gfp().

Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
lib/maple_tree.c
tools/testing/radix-tree/maple.c