diff options
author | 2022-11-15 11:16:12 -0500 | |
---|---|---|
committer | 2022-12-05 18:00:58 +0100 | |
commit | 6bfd0ffa6f2ae0ead92af7c4521626cd456115c5 (patch) | |
tree | ac993d1af002a288bb0cf7d830daef69cd6f4498 /fs/btrfs/ctree.c | |
parent | btrfs: move leaf_data_end into ctree.c (diff) | |
download | linux-6bfd0ffa6f2ae0ead92af7c4521626cd456115c5.tar.gz linux-6bfd0ffa6f2ae0ead92af7c4521626cd456115c5.tar.bz2 linux-6bfd0ffa6f2ae0ead92af7c4521626cd456115c5.zip |
btrfs: move file_extent_item helpers into file-item.h
These helpers use functions that are in multiple places, which makes it
tricky to sync them into btrfs-progs. Move them to file-item.h and then
include file-item.h in places that use these helpers.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index dc38c24a0ffa..e85b243be5a2 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -22,6 +22,7 @@ #include "accessors.h" #include "extent-tree.h" #include "relocation.h" +#include "file-item.h" static struct kmem_cache *btrfs_path_cachep; |