]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: drop unused parameter refs from visit_node_for_delete()
authorDavid Sterba <dsterba@suse.com>
Wed, 9 Oct 2024 14:31:56 +0000 (16:31 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 11 Nov 2024 13:34:16 +0000 (14:34 +0100)
commitf8c4d59de23c9306cc8649cc8de121a1d0602536
treed3fe0618845f65cce1ca54330e3b8656b93305bc
parentcc5fe81aa64714a8e47dbce036b89bfd1669e66e
btrfs: drop unused parameter refs from visit_node_for_delete()

The parameter duplicates what can be effectively obtained from
wc->refs[level - 1] and this is what's actually used inside. Added in
commit 2b73c7e761c4 ("btrfs: unify logic to decide if we need to walk
down into a node during snapshot delete").

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c