From 50d4ab19e472b75593264df0a49716f460b58596 Mon Sep 17 00:00:00 2001 From: Gu Jinxiang Date: Tue, 31 Oct 2017 17:23:03 +0800 Subject: btrfs-progs: Remove unused parameter trans Some parameter of trans is not used indeed. Let's remove them. Signed-off-by: Gu Jinxiang 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 ef422ea6..7db0cd94 100644 --- a/ctree.h +++ b/ctree.h @@ -2536,8 +2536,7 @@ int btrfs_make_block_group(struct btrfs_trans_handle *trans, u64 size); int btrfs_make_block_groups(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info); -int btrfs_update_block_group(struct btrfs_trans_handle *trans, - struct btrfs_root *root, u64 bytenr, u64 num, +int btrfs_update_block_group(struct btrfs_root *root, u64 bytenr, u64 num, int alloc, int mark_free); int btrfs_record_file_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid, -- cgit v1.2.3