aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-io-tree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-09 17:53:30 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:28:03 +0200
commitd8038a1f46f37680342d81d443f17bbd1b5b768c (patch)
treed1bae6680d3b17c4d5f832784e7fd905964bddf2 /fs/btrfs/extent-io-tree.h
parentbtrfs: move core extent_io_tree functions to extent-io-tree.c (diff)
downloadlinux-dev-d8038a1f46f37680342d81d443f17bbd1b5b768c.tar.xz
linux-dev-d8038a1f46f37680342d81d443f17bbd1b5b768c.zip
btrfs: unexport btrfs_debug_check_extent_io_range
We no longer need to export this as all users are in extent-io-tree.c, remove it from the header and put it into extent-io-tree.c. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-io-tree.h')
-rw-r--r--fs/btrfs/extent-io-tree.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/btrfs/extent-io-tree.h b/fs/btrfs/extent-io-tree.h
index 92cbb1dc5ce2..564378b6f514 100644
--- a/fs/btrfs/extent-io-tree.h
+++ b/fs/btrfs/extent-io-tree.h
@@ -269,16 +269,6 @@ static inline bool extent_state_in_tree(const struct extent_state *state)
return !RB_EMPTY_NODE(&state->rb_node);
}
-#ifdef CONFIG_BTRFS_DEBUG
-void __btrfs_debug_check_extent_io_range(const char *caller,
- struct extent_io_tree *tree, u64 start,
- u64 end);
-#define btrfs_debug_check_extent_io_range(tree, start, end) \
- __btrfs_debug_check_extent_io_range(__func__, (tree), (start), (end))
-#else
-#define btrfs_debug_check_extent_io_range(c, s, e) do {} while (0)
-#endif
-
struct tree_entry {
u64 start;
u64 end;