aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
authorGravatar Josef Bacik <josef@toxicpanda.com> 2022-10-26 15:08:27 -0400
committerGravatar David Sterba <dsterba@suse.com> 2022-12-05 18:00:46 +0100
commit7c8ede16280586c72c36af6604985d714b84a32c (patch)
treeb45e440a23db431c8c2d55f03adeb13cce7d394b /fs/btrfs/file-item.c
parentbtrfs: move dir-item prototypes into dir-item.h (diff)
downloadlinux-7c8ede16280586c72c36af6604985d714b84a32c.tar.gz
linux-7c8ede16280586c72c36af6604985d714b84a32c.tar.bz2
linux-7c8ede16280586c72c36af6604985d714b84a32c.zip
btrfs: move file-item prototypes into their own header
Move these prototypes out of ctree.h and into file-item.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/file-item.c')
-rw-r--r--fs/btrfs/file-item.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c
index 403a857d230e..20d88cd0b602 100644
--- a/fs/btrfs/file-item.c
+++ b/fs/btrfs/file-item.c
@@ -19,6 +19,7 @@
#include "compression.h"
#include "fs.h"
#include "accessors.h"
+#include "file-item.h"
#define __MAX_CSUM_ITEMS(r, size) ((unsigned long)(((BTRFS_LEAF_DATA_SIZE(r) - \
sizeof(struct btrfs_item) * 2) / \