diff mbox

[4/4] export radix_tree_iter_tag_set

Message ID 1510167660-26196-4-git-send-email-josef@toxicpanda.com (mailing list archive)
State New, archived
Headers show

Commit Message

Josef Bacik Nov. 8, 2017, 7:01 p.m. UTC
From: Josef Bacik <jbacik@fb.com>

We use this in btrfs for metadata writeback.

Signed-off-by: Josef Bacik <jbacik@fb.com>
---
 lib/radix-tree.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Matthew Wilcox Nov. 9, 2017, 2:41 p.m. UTC | #1
On Wed, Nov 08, 2017 at 02:01:00PM -0500, Josef Bacik wrote:
> From: Josef Bacik <jbacik@fb.com>
> 
> We use this in btrfs for metadata writeback.
> 
> Signed-off-by: Josef Bacik <jbacik@fb.com>

Acked-by: Matthew Wilcox <mawilcox@microsoft.com>

In good news, this API will be more readily accessible in the XArray
and it'll be exported to modules.
diff mbox

Patch

diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index 8b1feca1230a..0c1cde9fcb69 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -1459,6 +1459,7 @@  void radix_tree_iter_tag_set(struct radix_tree_root *root,
 {
 	node_tag_set(root, iter->node, tag, iter_offset(iter));
 }
+EXPORT_SYMBOL(radix_tree_iter_tag_set);
 
 static void node_tag_clear(struct radix_tree_root *root,
 				struct radix_tree_node *node,