]> git.ipfire.org Git - people/ms/linux.git/commit - fs/btrfs/tree-log.c
btrfs: remove root argument from add_link()
authorFilipe Manana <fdmanana@suse.com>
Mon, 25 Oct 2021 16:31:51 +0000 (17:31 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 29 Oct 2021 10:39:13 +0000 (12:39 +0200)
commit6d9cc07215c7f09e215dd2a19233996845040ae7
tree111244b843c1966ec4b991491bf3415f5a654c4c
parent4467af8809299c12529b5c21481c1d44a3b209f9
btrfs: remove root argument from add_link()

The root argument for tree-log.c:add_link() always matches the root of the
given directory and the given inode, so it can eliminated.

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/tree-log.c