summaryrefslogtreecommitdiff
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-09-22 13:37:26 +0300
committerDavid Sterba <dsterba@suse.com>2023-10-12 17:44:12 +0300
commit8befc61cbba2d4567122d400542da8900a352971 (patch)
treed5790fa054f39c0c917fa07f6775d77d215510f2 /fs/btrfs/relocation.c
parent0a325e620e1a0e266c083a06343497b376705a9d (diff)
downloadlinux-8befc61cbba2d4567122d400542da8900a352971.tar.xz
btrfs: remove redundant root argument from fixup_inode_link_count()
The root argument for fixup_inode_link_count() always matches the root of the given inode, so remove the root argument and get it from the inode argument. This also applies to the helpers count_inode_extrefs() and count_inode_refs() used by fixup_inode_link_count() - they don't need the root argument, as it always matches the root of the inode passed to them. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
0 files changed, 0 insertions, 0 deletions