btrfs: unify the lock/unlock extent variants
[linux-block.git] / fs / btrfs / extent-io-tree.c
index de5f54c2f54310615cf45d3554a2a42c248edb57..02e9eda59cb70eeb3e31f8ac8f423d36ea9dc04d 100644 (file)
@@ -1649,8 +1649,8 @@ int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end)
  * Either insert or lock state struct between start and end use mask to tell
  * us if waiting is desired.
  */
-int lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
-                    struct extent_state **cached_state)
+int lock_extent(struct extent_io_tree *tree, u64 start, u64 end,
+               struct extent_state **cached_state)
 {
        int err;
        u64 failed_start;