]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: remove redundant root argument from btrfs_update_inode_item()
authorFilipe Manana <fdmanana@suse.com>
Fri, 22 Sep 2023 10:37:23 +0000 (11:37 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:12 +0000 (16:44 +0200)
commit07a274a8862dba86a270ced2a4c5ff3f7a01b66a
tree223a1e2ff6336841add9343f2867f58fc88e68c1
parent8b9d032225be93f80ebdd7ba933846acd1bd9f16
btrfs: remove redundant root argument from btrfs_update_inode_item()

The root argument for btrfs_update_inode_item() 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>
fs/btrfs/inode.c