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

The root argument for btrfs_update_inode() 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/block-group.c
fs/btrfs/btrfs_inode.h
fs/btrfs/file.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/reflink.c
fs/btrfs/tree-log.c
fs/btrfs/verity.c
fs/btrfs/xattr.c