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

The root argument for maybe_insert_hole() 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