summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-06-20 21:37:44 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:03 +0200
commitaac0023c2106952538414254960c51dcf0dc39e9 (patch)
tree105b51c01bcd06df933f063b73ce6e1bd51b8bbf /fs/btrfs/free-space-cache.c
parentbtrfs: move btrfs_add_free_space out of a header file (diff)
downloadlinux-aac0023c2106952538414254960c51dcf0dc39e9.tar.xz
linux-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/free-space-cache.c')
-rw-r--r--fs/btrfs/free-space-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 92cb06dd94d3..faaf57a7c289 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -20,6 +20,7 @@
#include "volumes.h"
#include "space-info.h"
#include "delalloc-space.h"
+#include "block-group.h"
#define BITS_PER_BITMAP (PAGE_SIZE * 8UL)
#define MAX_CACHE_BYTES_PER_GIG SZ_32K