summaryrefslogtreecommitdiff
path: root/fs/btrfs/print-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-19 17:51:00 +0300
committerDavid Sterba <dsterba@suse.com>2022-12-05 20:00:42 +0300
commit07e81dc94474eb62705c6f96d9ab1a5a797b8703 (patch)
treebf35b7803d700ef2e05b16cc0d422b86c62be3f9 /fs/btrfs/print-tree.c
parentad1ac5012c2beccc9de4d3e2cc1382fd250e5540 (diff)
downloadlinux-07e81dc94474eb62705c6f96d9ab1a5a797b8703.tar.xz
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/print-tree.c')
-rw-r--r--fs/btrfs/print-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c
index 708facaede2c..aab7d30eed55 100644
--- a/fs/btrfs/print-tree.c
+++ b/fs/btrfs/print-tree.c
@@ -7,6 +7,7 @@
#include "ctree.h"
#include "disk-io.h"
#include "print-tree.h"
+#include "accessors.h"
struct root_name_map {
u64 id;