Commit 5c63a7c3 authored by Danilo Krummrich's avatar Danilo Krummrich Committed by Andrew Morton

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.comSigned-off-by: default avatarDanilo Krummrich <dakr@redhat.com>
Reviewed-by: default avatarLiam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 452a8f40
...@@ -5726,6 +5726,7 @@ int mas_preallocate(struct ma_state *mas, gfp_t gfp) ...@@ -5726,6 +5726,7 @@ int mas_preallocate(struct ma_state *mas, gfp_t gfp)
mas_reset(mas); mas_reset(mas);
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(mas_preallocate);
/* /*
* mas_destroy() - destroy a maple state. * mas_destroy() - destroy a maple state.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment