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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c
index 1b2f9e059de..e081558d52f 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