OSDN Git Service

btrfs: pass the extent buffer for the btrfs_item_nr helpers
authorJosef Bacik <josef@toxicpanda.com>
Tue, 15 Nov 2022 16:16:15 +0000 (11:16 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:58 +0000 (18:00 +0100)
commit42c9419a4c01910e9c46b0c2bb9090f76295bf01
treec625c683c5988e687f93f3d095d3009b4fbeac49
parent0e6c40ebbb18b32cf4b5fcb3173eaede89b9f440
btrfs: pass the extent buffer for the btrfs_item_nr helpers

This is actually a change for extent tree v2, but it exists in
btrfs-progs but not in the kernel.  This makes it annoying to sync
accessors.h with btrfs-progs, and since this is the way I need it for
extent-tree v2 simply update these helpers to take the extent buffer in
order to make syncing possible now, and make the extent tree v2 stuff
easier moving forward.

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
fs/btrfs/tree-checker.c