summaryrefslogtreecommitdiff
path: root/rust/helpers/maple_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'rust/helpers/maple_tree.c')
-rw-r--r--rust/helpers/maple_tree.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/helpers/maple_tree.c b/rust/helpers/maple_tree.c
new file mode 100644
index 000000000000..1dd9ac84a13f
--- /dev/null
+++ b/rust/helpers/maple_tree.c
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include <linux/maple_tree.h>
+
+void rust_helper_mt_init_flags(struct maple_tree *mt, unsigned int flags)
+{
+ mt_init_flags(mt, flags);
+}