]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove the root argument from log_new_dir_dentries()
authorFilipe Manana <fdmanana@suse.com>
Wed, 17 Aug 2022 11:22:35 +0000 (12:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:27:56 +0000 (12:27 +0200)
commit47204faab05f3f57fa9cc8a4885f47d1c4c200eb
tree298df1984b1c38662a48eadff93521b466d09c4c
parent810fc27e92babde0b3560d633b4b5c0f958e9cf2
btrfs: remove the root argument from log_new_dir_dentries()

There's no point in passing a root argument to log_new_dir_dentries()
because it always corresponds to the root of the given inode. So remove
it and extract the root from the given inode.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-log.c