summaryrefslogtreecommitdiff
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-06-18 23:09:16 +0300
committerDavid Sterba <dsterba@suse.com>2019-07-02 13:30:51 +0300
commit8719aaae8d696bf0c73f74e6d6cc75451b50d5df (patch)
tree09af977a56434e943ab9b33871df5f39c7dc3dd8 /fs/btrfs/free-space-cache.c
parente749af443fa8dac67a896d38f5eca450a5b9026a (diff)
downloadlinux-8719aaae8d696bf0c73f74e6d6cc75451b50d5df.tar.xz
btrfs: move space_info to space-info.h
Migrate the struct definition and the one helper that's in ctree.h into space-info.h Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> 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 6814fa42eba3..390cd3d7d5ea 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -18,6 +18,7 @@
#include "extent_io.h"
#include "inode-map.h"
#include "volumes.h"
+#include "space-info.h"
#define BITS_PER_BITMAP (PAGE_SIZE * 8UL)
#define MAX_CACHE_BYTES_PER_GIG SZ_32K