btrfs: pass btrfs_ref to init_delayed_ref_common
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Apr 2024 23:44:55 +0000 (19:44 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 May 2024 19:31:04 +0000 (21:31 +0200)
commitda3c5485419767d0943480b7e30066691966ca9a
tree607c1b94a997e928e58eaf8acd0bcaf6a5c14232
parentf2e69a77aa5150d8a8ea13e45aad6dc42e581591
btrfs: pass btrfs_ref to init_delayed_ref_common

We're extracting all of these values from the btrfs_ref we passed in
already, just pass the btrfs_ref through to init_delayed_ref_common and
get the values directly from the struct.

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/delayed-ref.c
fs/btrfs/delayed-ref.h