]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: remove BTRFS_LEAF_DATA_OFFSET
authorJosef Bacik <josef@toxicpanda.com>
Tue, 15 Nov 2022 16:16:18 +0000 (11:16 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:58 +0000 (18:00 +0100)
commit8009adf306452e9b43db36f2d02fedfe5eca1b5e
tree2b85463ff6eba105048a0df3e0267e7789df753e
parent637e3b48c22e52daa645b49b73630af3f09328ae
btrfs: remove BTRFS_LEAF_DATA_OFFSET

This is simply the same thing as btrfs_item_nr_offset(leaf, 0), so
remove this helper and replace it's usage with the above statement.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/accessors.h
fs/btrfs/ctree.c
fs/btrfs/extent_io.c