summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@redhat.com>2023-03-02 02:10:35 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-03-29 01:20:14 +0200
commit5c63a7c32a94a7e2fecdd6754a6ff47cd4226ee1 (patch)
tree8ef6d8901a9ed3531161ce7e06880468a31b9f51 /lib
parentmm,jfs: move write_one_page/folio_write_one to jfs (diff)
downloadlinux-5c63a7c32a94a7e2fecdd6754a6ff47cd4226ee1.tar.xz
linux-5c63a7c32a94a7e2fecdd6754a6ff47cd4226ee1.zip
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 <dakr@redhat.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/maple_tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 9e2735cbc2b4..ae37a167e25d 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.