]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
maple_tree: add mtree_store() to header
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 22 Feb 2021 01:05:26 +0000 (20:05 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 22 Feb 2021 01:05:26 +0000 (20:05 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
include/linux/maple_tree.h

index de8e1a2b0d825e616adc6648a3ab6461df0de9c1..bf6398b015137b1c0d0be2fae4c4bf0ccbac5f8a 100644 (file)
@@ -171,7 +171,9 @@ int mtree_insert_range(struct maple_tree *mt, unsigned long first,
 void *mtree_erase(struct maple_tree *mt, unsigned long index);
 void mtree_destroy(struct maple_tree *mt);
 int mtree_store_range(struct maple_tree *mt, unsigned long first,
-               unsigned long last, void *entry, gfp_t gfp);
+                     unsigned long last, void *entry, gfp_t gfp);
+int mtree_store(struct maple_tree *mt, unsigned long index,
+               void *entry, gfp_t gfp);
 
 /**
  * mtree_empty() - Determine if a tree has any present entries.