aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_map.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-15 16:15:26 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:56 -0400
commit1a5bc167f6707542b79a55452075525620ed43f5 (patch)
tree9f87d9351928af0c5cffa057ed2df95c895d57d2 /fs/btrfs/extent_map.c
parent96b5179d0d9b6368c203856f2ad6e8e12a8b2a2c (diff)
Btrfs: Change the remaining radix trees used by extent-tree.c to extent_map trees
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_map.c')
-rw-r--r--fs/btrfs/extent_map.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c
index 1b2f9e059de6..e081558d52ff 100644
--- a/fs/btrfs/extent_map.c
+++ b/fs/btrfs/extent_map.c
@@ -1188,8 +1188,8 @@ out:
1188 * has the bits set. Otherwise, 1 is returned if any bit in the 1188 * has the bits set. Otherwise, 1 is returned if any bit in the
1189 * range is found set. 1189 * range is found set.
1190 */ 1190 */
1191static int test_range_bit(struct extent_map_tree *tree, u64 start, u64 end, 1191int test_range_bit(struct extent_map_tree *tree, u64 start, u64 end,
1192 int bits, int filled) 1192 int bits, int filled)
1193{ 1193{
1194 struct extent_state *state = NULL; 1194 struct extent_state *state = NULL;
1195 struct rb_node *node; 1195 struct rb_node *node;
@@ -1222,6 +1222,7 @@ static int test_range_bit(struct extent_map_tree *tree, u64 start, u64 end,
1222 read_unlock_irq(&tree->lock); 1222 read_unlock_irq(&tree->lock);
1223 return bitset; 1223 return bitset;
1224} 1224}
1225EXPORT_SYMBOL(test_range_bit);
1225 1226
1226/* 1227/*
1227 * helper function to set a given page up to date if all the 1228 * helper function to set a given page up to date if all the