btrfs: make the insert backref helpers take a btrfs_delayed_ref_node
authorJosef Bacik <josef@toxicpanda.com>
Sat, 13 Apr 2024 03:43:46 +0000 (23:43 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 May 2024 19:31:05 +0000 (21:31 +0200)
commitb4b5934ac1c3a6a29648f01486541ddf5b981234
tree38e1c248c34d1be9a58471380783e4e15775a8de
parent85bb9f544e8ef247143fb7b3f4ca2974d71d407e
btrfs: make the insert backref helpers take a btrfs_delayed_ref_node

We don't need to pass in all the elements for the backrefs as function
arguments, simply pass through the btrfs_delayed_ref_node and then
extract the values we need from that.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c