diff options
author | Josef Bacik <[email protected]> | 2022-10-19 10:51:00 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-12-05 18:00:42 +0100 |
commit | 07e81dc94474eb62705c6f96d9ab1a5a797b8703 (patch) | |
tree | bf35b7803d700ef2e05b16cc0d422b86c62be3f9 /fs/btrfs/sysfs.c | |
parent | ad1ac5012c2beccc9de4d3e2cc1382fd250e5540 (diff) |
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 <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ reformat comments, style fixups ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/sysfs.c')
-rw-r--r-- | fs/btrfs/sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index 47b221372dcf..a14812f1254a 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c @@ -23,6 +23,7 @@ #include "qgroup.h" #include "misc.h" #include "fs.h" +#include "accessors.h" /* * Structure name Path |