summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/radix-tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index 68702061464f..8a58051eb5b3 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -700,9 +700,9 @@ static bool delete_node(struct radix_tree_root *root,
700 * 700 *
701 * Returns -ENOMEM, or 0 for success. 701 * Returns -ENOMEM, or 0 for success.
702 */ 702 */
703int __radix_tree_create(struct radix_tree_root *root, unsigned long index, 703static int __radix_tree_create(struct radix_tree_root *root,
704 unsigned order, struct radix_tree_node **nodep, 704 unsigned long index, unsigned order,
705 void __rcu ***slotp) 705 struct radix_tree_node **nodep, void __rcu ***slotp)
706{ 706{
707 struct radix_tree_node *node = NULL, *child; 707 struct radix_tree_node *node = NULL, *child;
708 void __rcu **slot = (void __rcu **)&root->xa_head; 708 void __rcu **slot = (void __rcu **)&root->xa_head;