From b4c4ff9c4a15eb0d97ab9dd6f12f7bc9774d0d7b Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Mon, 28 May 2018 09:36:41 +0300 Subject: btrfs-progs: check: Remove root parameter from btrfs_fix_block_accounting It's always set to extent_root and the function already takes a transaction handle where fs_info could be referenced and in turn the extent_tree. Signed-off-by: Nikolay Borisov Reviewed-by: Su Yue Signed-off-by: David Sterba --- ctree.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ctree.h') diff --git a/ctree.h b/ctree.h index 697895a9..c833ad69 100644 --- a/ctree.h +++ b/ctree.h @@ -2500,8 +2500,7 @@ int btrfs_reserve_extent(struct btrfs_trans_handle *trans, u64 num_bytes, u64 empty_size, u64 hint_byte, u64 search_end, struct btrfs_key *ins, bool is_data); -int btrfs_fix_block_accounting(struct btrfs_trans_handle *trans, - struct btrfs_root *root); +int btrfs_fix_block_accounting(struct btrfs_trans_handle *trans); void btrfs_pin_extent(struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes); void btrfs_unpin_extent(struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes); -- cgit v1.2.3