summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorLu Fengqi2018-05-29 09:01:54 +0200
committerDavid Sterba2018-05-30 16:46:53 +0200
commitd19577912d57c143bb592a061e3dbd7b6f78f71a (patch)
treeae3eb65f43736450a06858c65ac8dff09ba7cb38 /fs/btrfs/ctree.h
parentbtrfs: Remove fs_info argument from btrfs_uuid_tree_add (diff)
downloadkernel-qcow2-linux-d19577912d57c143bb592a061e3dbd7b6f78f71a.tar.gz
kernel-qcow2-linux-d19577912d57c143bb592a061e3dbd7b6f78f71a.tar.xz
kernel-qcow2-linux-d19577912d57c143bb592a061e3dbd7b6f78f71a.zip
btrfs: Remove fs_info argument from btrfs_uuid_tree_rem
This function always takes a transaction handle which contains a reference to the fs_info. Use that and remove the extra argument. Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> [ rename the function ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 3dc1db981be7..9a62bc59cc39 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3042,8 +3042,7 @@ void btrfs_update_root_times(struct btrfs_trans_handle *trans,
/* uuid-tree.c */
int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, u8 *uuid, u8 type,
u64 subid);
-int btrfs_uuid_tree_rem(struct btrfs_trans_handle *trans,
- struct btrfs_fs_info *fs_info, u8 *uuid, u8 type,
+int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, u8 *uuid, u8 type,
u64 subid);
int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info,
int (*check_func)(struct btrfs_fs_info *, u8 *, u8,