btrfs: remove redundant root argument from fixup_inode_link_count()
[ Upstream commit 8befc61c ] 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> Stable-dep-of: 5f61b961 ("btrfs: fix inode lookup error handling during log replay") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment