btrfs-progs/check
Josef Bacik 405b5cadd3 btrfs-progs: replace btrfs_leaf_data with btrfs_item_nr_offset
We're using btrfs_item_nr_offset(leaf, 0) to get the start of the leaf
data in the kernel, we don't have btrfs_leaf_data.  Replace all
occurrences of btrfs_leaf_data() with btrfs_item_nr_offset(leaf, 0) in
order to make syncing accessors.[ch] easier.  ctree.c will be synced
later, so this is simply an intermediate step.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-11-30 19:14:29 +01:00
..
clear-cache.c btrfs-progs: use template for transaction start error messages 2022-10-11 09:08:10 +02:00
clear-cache.h btrfs-progs: check: factor out code for clearing caches 2022-10-11 09:08:09 +02:00
common.h btrfs-progs: check: move global variables to common headers 2022-10-11 09:08:09 +02:00
main.c btrfs-progs: replace btrfs_leaf_data with btrfs_item_nr_offset 2022-11-30 19:14:29 +01:00
mode-common.c btrfs-progs: sync compression.h from the kernel 2022-11-30 19:14:29 +01:00
mode-common.h btrfs-progs: check: move global variables to common headers 2022-10-11 09:08:09 +02:00
mode-lowmem.c btrfs-progs: sync compression.h from the kernel 2022-11-30 19:14:29 +01:00
mode-lowmem.h btrfs-progs: check: update include lists 2022-10-11 09:06:12 +02:00
mode-original.h btrfs-progs: check: add check for overlong xattr names 2022-04-25 18:52:49 +02:00
qgroup-verify.c btrfs-progs: make btrfs_qgroup_level helper match the kernel 2022-11-28 18:57:43 +01:00
qgroup-verify.h btrfs-progs: check: update include lists 2022-10-11 09:06:12 +02:00
repair.c btrfs-progs: check: rename global repair option 2022-10-11 09:08:09 +02:00
repair.h btrfs-progs: check: rename global repair option 2022-10-11 09:08:09 +02:00