btrfs: add eb to btrfs_node_key_ptr_offset
authorJosef Bacik <josef@toxicpanda.com>
Tue, 15 Nov 2022 16:16:16 +0000 (11:16 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:58 +0000 (18:00 +0100)
commite23efd8e8767165a6103cf0a4fe273f6b9f182f2
treef1ed39ed08db71eca8a7203a7f9671da08b7a726
parent42c9419a4c01910e9c46b0c2bb9090f76295bf01
btrfs: add eb to btrfs_node_key_ptr_offset

This is a change needed for extent tree v2, as we will be growing the
header size.  This exists in btrfs-progs currently, and not having it
makes syncing accessors.[ch] more problematic.  So make this change to
set us up for extent tree v2 and match what btrfs-progs does to make
syncing easier.

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