summaryrefslogtreecommitdiff
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-26 15:08:30 -0400
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:46 +0100
commitaf142b6f44d36c4d0e1e53acbedbc30a588c58de (patch)
tree816f4bbd36470d86dbc560aa299c4505f2f8c734 /fs/btrfs/free-space-cache.c
parent7572dec8f5223186ed0fa7f6da47dba98651cbf4 (diff)
btrfs: move file prototypes to file.h
Move these out of ctree.h into file.h to cut down on code in ctree.h. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> 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-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 bc1b9aa164ec..aef075b63188 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -28,6 +28,7 @@
#include "inode-item.h"
#include "accessors.h"
#include "file-item.h"
+#include "file.h"
#define BITS_PER_BITMAP (PAGE_SIZE * 8UL)
#define MAX_CACHE_BYTES_PER_GIG SZ_64K