aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2022-10-26 19:08:27 +0000
committerDavid Sterba <[email protected]>2022-12-05 17:00:46 +0000
commit7c8ede16280586c72c36af6604985d714b84a32c (patch)
treeb45e440a23db431c8c2d55f03adeb13cce7d394b /fs/btrfs/file-item.c
parentbtrfs: move dir-item prototypes into dir-item.h (diff)
downloadkernel-7c8ede16280586c72c36af6604985d714b84a32c.tar.gz
kernel-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 <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
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) / \