diff options
| author | Filipe Manana <fdmanana@suse.com> | 2023-09-22 11:37:26 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-10-12 16:44:12 +0200 |
| commit | 8befc61cbba2d4567122d400542da8900a352971 (patch) | |
| tree | d5790fa054f39c0c917fa07f6775d77d215510f2 /net/lapb/lapb_in.c | |
| parent | 0a325e620e1a0e266c083a06343497b376705a9d (diff) | |
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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
