aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-04-13 09:33:56 -0400
committerChris Mason <chris.mason@oracle.com>2009-04-24 15:46:04 -0400
commit0d4bf11e5309eff64272a49e1ea55658372abc56 (patch)
treef444a5aad67ede7f919b98ba813159a0a8c32e30
parent2ea2544ef5dad5cac52f1e4c7b812631274fc1cb (diff)
Btrfs: don't export symbols
Currently the extent_map code is only for btrfs so don't export it's symbols. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chris Mason <chris.mason@oracle.com>
-rw-r--r--fs/btrfs/extent_map.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c
index b187917b36fa..9827fa1de4e1 100644
--- a/fs/btrfs/extent_map.c
+++ b/fs/btrfs/extent_map.c
@@ -43,7 +43,6 @@ void extent_map_tree_init(struct extent_map_tree *tree, gfp_t mask)
43 tree->map.rb_node = NULL; 43 tree->map.rb_node = NULL;
44 spin_lock_init(&tree->lock); 44 spin_lock_init(&tree->lock);
45} 45}
46EXPORT_SYMBOL(extent_map_tree_init);
47 46
48/** 47/**
49 * alloc_extent_map - allocate new extent map structure 48 * alloc_extent_map - allocate new extent map structure
@@ -64,7 +63,6 @@ struct extent_map *alloc_extent_map(gfp_t mask)
64 atomic_set(&em->refs, 1); 63 atomic_set(&em->refs, 1);
65 return em; 64 return em;
66} 65}
67EXPORT_SYMBOL(alloc_extent_map);
68 66
69/** 67/**
70 * free_extent_map - drop reference count of an extent_map 68 * free_extent_map - drop reference count of an extent_map
@@ -83,7 +81,6 @@ void free_extent_map(struct extent_map *em)
83 kmem_cache_free(extent_map_cache, em); 81 kmem_cache_free(extent_map_cache, em);
84 } 82 }
85} 83}
86EXPORT_SYMBOL(free_extent_map);
87 84
88static struct rb_node *tree_insert(struct rb_root *root, u64 offset, 85static struct rb_node *tree_insert(struct rb_root *root, u64 offset,
89 struct rb_node *node) 86 struct rb_node *node)
@@ -264,7 +261,6 @@ int add_extent_mapping(struct extent_map_tree *tree,
264out: 261out:
265 return ret; 262 return ret;
266} 263}
267EXPORT_SYMBOL(add_extent_mapping);
268 264
269/* simple helper to do math around the end of an extent, handling wrap */ 265/* simple helper to do math around the end of an extent, handling wrap */
270static u64 range_end(u64 start, u64 len) 266static u64 range_end(u64 start, u64 len)
@@ -326,7 +322,6 @@ found:
326out: 322out:
327 return em; 323 return em;
328} 324}
329EXPORT_SYMBOL(lookup_extent_mapping);
330 325
331/** 326/**
332 * remove_extent_mapping - removes an extent_map from the extent tree 327 * remove_extent_mapping - removes an extent_map from the extent tree
@@ -346,4 +341,3 @@ int remove_extent_mapping(struct extent_map_tree *tree, struct extent_map *em)
346 em->in_tree = 0; 341 em->in_tree = 0;
347 return ret; 342 return ret;
348} 343}
349EXPORT_SYMBOL(remove_extent_mapping);