Skip to contentSkip to conversation

Export radix_tree_preload()

PATCH Superseded David Chinner 1 participant 1 message Jun 13, 2007 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Export radix_tree_preload()

Upcoming XFS functionality [1] uses radix trees and uses the preload functions. XFS can be built as a module and hence we need radix_tree_preload() exported. radix_tree_preload_end() is a static inline, so it doesn't need exporting.

[1] http://marc.info/?l=linux-xfs&m=118170839531601&w=2

---
 lib/radix-tree.c |    1 +
 1 file changed, 1 insertion(+)
lib/radix-tree.c +1 -0
Index: 2.6.x-xfs-new/lib/radix-tree.c
===================================================================
@@ -151,6 +151,7 @@ int radix_tree_preload(gfp_t gfp_mask)
 out:
 	return ret;
 }
+EXPORT_SYMBOL(radix_tree_preload);
 
 static inline void tag_set(struct radix_tree_node *node, unsigned int tag,
 		int offset)