From: Danilo Krummrich Date: Thu, 2 Mar 2023 01:10:35 +0000 (+0100) Subject: maple_tree: export symbol mas_preallocate() X-Git-Tag: v6.6.17~4989^2~318 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c63a7c32a94a7e2fecdd6754a6ff47cd4226ee1;p=platform%2Fkernel%2Flinux-rpi.git maple_tree: export symbol mas_preallocate() Fix missing EXPORT_SYMBOL_GPL() statement for mas_preallocate(). It isn't actually used by anything yet, but mas_preallocate() is part of the maple tree's 'Advanced API'. All other functions of this API are exported already. Link: https://lkml.kernel.org/r/20230302011035.4928-1-dakr@redhat.com Signed-off-by: Danilo Krummrich Reviewed-by: Liam R. Howlett Signed-off-by: Andrew Morton --- diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 9e2735c..ae37a16 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -5726,6 +5726,7 @@ int mas_preallocate(struct ma_state *mas, gfp_t gfp) mas_reset(mas); return ret; } +EXPORT_SYMBOL_GPL(mas_preallocate); /* * mas_destroy() - destroy a maple state.