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

The root argument of btrfs_delayed_item_reserve_metadata() is used only
to get the fs_info object, but we already have a transaction handle, which
we can use to get the fs_info. So remove the root argument.

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