diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2018-08-01 11:32:29 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:13:00 +0200 |
commit | 6025c19fb208e93b99eafc304e7f16160e49fc88 (patch) | |
tree | 6a0b47ea03d36720cb508b24b958c2b20a5d6938 /fs/btrfs/ctree.h | |
parent | 3ee1c5530e649182e602eb2f81193289c4d2e655 (diff) |
btrfs: Remove fs_info from btrfs_add_root_ref
It can be referenced from the passed transaction handle.
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 3677082ddf4c..c275ea258f9a 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2984,10 +2984,9 @@ void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq); /* root-item.c */ -int btrfs_add_root_ref(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, - u64 root_id, u64 ref_id, u64 dirid, u64 sequence, - const char *name, int name_len); +int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id, + u64 ref_id, u64 dirid, u64 sequence, const char *name, + int name_len); int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id, u64 ref_id, u64 dirid, u64 *sequence, const char *name, int name_len); |