]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove root argument from btrfs_unlink_inode()
authorFilipe Manana <fdmanana@suse.com>
Mon, 25 Oct 2021 16:31:50 +0000 (17:31 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 29 Oct 2021 10:39:13 +0000 (12:39 +0200)
commit5f60e801aecd3c288e37c283e978c2964a4166f9
tree82eef56e1f8bb4e81d30871d4699ace1f50d5696
parent72d9ca18c8521135e4cd93f9252c591cbd2c4083
btrfs: remove root argument from btrfs_unlink_inode()

The root argument passed to btrfs_unlink_inode() and its callee,
__btrfs_unlink_inode(), always matches the root of the given directory and
the given inode. So remove the argument and make __btrfs_unlink_inode()
use the root of the directory.

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/ctree.h
fs/btrfs/inode.c
fs/btrfs/tree-log.c