public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Export radix_tree_preload()
@ 2007-06-13  4:27 David Chinner
  0 siblings, 0 replies; only message in thread
From: David Chinner @ 2007-06-13  4:27 UTC (permalink / raw)
  To: lkml; +Cc: xfs-oss


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

Signed-Off-By: Dave Chinner <dgc@sgi.com>

---
 lib/radix-tree.c |    1 +
 1 file changed, 1 insertion(+)

Index: 2.6.x-xfs-new/lib/radix-tree.c
===================================================================
--- 2.6.x-xfs-new.orig/lib/radix-tree.c	2007-03-29 19:00:53.802804161 +1000
+++ 2.6.x-xfs-new/lib/radix-tree.c	2007-03-29 19:07:10.297495640 +1000
@@ -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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-13  4:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-13  4:27 [PATCH] Export radix_tree_preload() David Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox