]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: remove redundant root argument from btrfs_update_inode_fallback()
authorFilipe Manana <fdmanana@suse.com>
Fri, 22 Sep 2023 10:37:21 +0000 (11:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2025 16:35:16 +0000 (18:35 +0200)
commit28a36e75d196af482f0c5138e991806d47c80b78
tree069179cc8592955c8f2886e5e24ba273face6658
parentddead3c5ca181af5805da22a24acc0265b812910
btrfs: remove redundant root argument from btrfs_update_inode_fallback()

[ Upstream commit 0a5d0dc55fcb15da016fa28d27bf50ca7f17ec11 ]

The root argument for btrfs_update_inode_fallback() always matches the
root of the given inode, so remove the root argument and get it from the
inode argument.

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: 5f61b961599a ("btrfs: fix inode lookup error handling during log replay")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/btrfs/btrfs_inode.h
fs/btrfs/inode.c
fs/btrfs/transaction.c