]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: use mas_store_gfp() in mas_erase()
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Wed, 13 Dec 2023 06:15:11 +0000 (22:15 -0800)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Sat, 20 Apr 2024 01:40:08 +0000 (21:40 -0400)
commit62c1ca195609493b84a008bc8dd608bc59b6c403
treecd309880d0a99a05e9d86c4fbf19a7d6158a7b44
parent3fe894e9acce1235fed40161eb024a092a004680
maple_tree: use mas_store_gfp() in mas_erase()

Refactor mas_erase() to simply call mas_store_gfp() which will abstract
storing the null, memory allocation, and error handling.

Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
lib/maple_tree.c