diff options
| author | Josef Bacik <[email protected]> | 2022-10-19 14:51:00 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-12-05 17:00:42 +0000 |
| commit | 07e81dc94474eb62705c6f96d9ab1a5a797b8703 (patch) | |
| tree | bf35b7803d700ef2e05b16cc0d422b86c62be3f9 /fs/btrfs/tests/extent-buffer-tests.c | |
| parent | btrfs: move btrfs_map_token to accessors (diff) | |
| download | kernel-07e81dc94474eb62705c6f96d9ab1a5a797b8703.tar.gz kernel-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 <[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/tests/extent-buffer-tests.c')
| -rw-r--r-- | fs/btrfs/tests/extent-buffer-tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/tests/extent-buffer-tests.c b/fs/btrfs/tests/extent-buffer-tests.c index b7d181a08eab..5ef0b90e25c3 100644 --- a/fs/btrfs/tests/extent-buffer-tests.c +++ b/fs/btrfs/tests/extent-buffer-tests.c @@ -8,6 +8,7 @@ #include "../ctree.h" #include "../extent_io.h" #include "../disk-io.h" +#include "../accessors.h" static int test_btrfs_split_item(u32 sectorsize, u32 nodesize) { |
