diff options
author | 2022-10-19 10:51:00 -0400 | |
---|---|---|
committer | 2022-12-05 18:00:42 +0100 | |
commit | 07e81dc94474eb62705c6f96d9ab1a5a797b8703 (patch) | |
tree | bf35b7803d700ef2e05b16cc0d422b86c62be3f9 /fs/btrfs/free-space-tree.c | |
parent | btrfs: move btrfs_map_token to accessors (diff) | |
download | linux-07e81dc94474eb62705c6f96d9ab1a5a797b8703.tar.gz linux-07e81dc94474eb62705c6f96d9ab1a5a797b8703.tar.bz2 linux-07e81dc94474eb62705c6f96d9ab1a5a797b8703.zip |
btrfs: move accessor helpers into accessors.h
This is a large patch, but because they're all macros it's impossible to
split up. Simply copy all of the item accessors in ctree.h and paste
them in accessors.h, and then update any files to include the header so
everything compiles.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ reformat comments, style fixups ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/free-space-tree.c')
-rw-r--r-- | fs/btrfs/free-space-tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/free-space-tree.c b/fs/btrfs/free-space-tree.c index 026214d74a02..fc79d21e7b4f 100644 --- a/fs/btrfs/free-space-tree.c +++ b/fs/btrfs/free-space-tree.c @@ -13,6 +13,7 @@ #include "transaction.h" #include "block-group.h" #include "fs.h" +#include "accessors.h" static int __add_block_group_free_space(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, |