aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/extent_map.c')
-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);