summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-24 14:47:00 -0400
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:44 +0100
commit45c40c8f9541f336c7857f09ea843fc8fa980b65 (patch)
tree9150e0a18d72c2e17296db372de32907d731f54f /fs/btrfs/free-space-tree.c
parent6d2049a2f36f873b8f793fde7ea1874d0d17a3dc (diff)
downloadlinux-45c40c8f9541f336c7857f09ea843fc8fa980b65.tar.gz
linux-45c40c8f9541f336c7857f09ea843fc8fa980b65.tar.bz2
linux-45c40c8f9541f336c7857f09ea843fc8fa980b65.zip
btrfs: move root tree prototypes to their own header
Move all the root-tree.c prototypes to root-tree.h, and then update all the necessary files to include the new header. 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/free-space-tree.c')
-rw-r--r--fs/btrfs/free-space-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/free-space-tree.c b/fs/btrfs/free-space-tree.c
index a652e5dc465b..869d062d6765 100644
--- a/fs/btrfs/free-space-tree.c
+++ b/fs/btrfs/free-space-tree.c
@@ -15,6 +15,7 @@
#include "fs.h"
#include "accessors.h"
#include "extent-tree.h"
+#include "root-tree.h"
static int __add_block_group_free_space(struct btrfs_trans_handle *trans,
struct btrfs_block_group *block_group,