summaryrefslogtreecommitdiff
path: root/fs/btrfs/space-info.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-06-20 15:37:44 -0400
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:03 +0200
commitaac0023c2106952538414254960c51dcf0dc39e9 (patch)
tree105b51c01bcd06df933f063b73ce6e1bd51b8bbf /fs/btrfs/space-info.c
parent478b4d9f0105e33cae34445d5ad2eb9798628231 (diff)
downloadlwn-aac0023c2106952538414254960c51dcf0dc39e9.tar.gz
lwn-aac0023c2106952538414254960c51dcf0dc39e9.zip
btrfs: move basic block_group definitions to their own header
This is prep work for moving all of the block group cache code into its own file. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> [ minor comment updates ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/space-info.c')
-rw-r--r--fs/btrfs/space-info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/space-info.c b/fs/btrfs/space-info.c
index ab7b9ec4c240..9dbb9c5f82b1 100644
--- a/fs/btrfs/space-info.c
+++ b/fs/btrfs/space-info.c
@@ -8,6 +8,7 @@
#include "ordered-data.h"
#include "transaction.h"
#include "math.h"
+#include "block-group.h"
u64 btrfs_space_info_used(struct btrfs_space_info *s_info,
bool may_use_included)