Btrfs: use a cached state for extent state operations during delalloc
[safe/jmp/linux-2.6] / fs / btrfs / extent_io.h
index c8ead2b..09cd6fa 100644 (file)
@@ -157,7 +157,7 @@ u64 count_range_bits(struct extent_io_tree *tree,
                     u64 max_bytes, unsigned long bits);
 
 int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end,
-                  int bits, int filled);
+                  int bits, int filled, struct extent_state *cached_state);
 int clear_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
                      int bits, gfp_t mask);
 int clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,