summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorLu Fengqi2018-08-01 05:32:29 +0200
committerDavid Sterba2018-08-06 13:13:00 +0200
commit6025c19fb208e93b99eafc304e7f16160e49fc88 (patch)
tree6a0b47ea03d36720cb508b24b958c2b20a5d6938 /fs/btrfs/ctree.h
parentbtrfs: Remove fs_info from btrfs_del_root_ref (diff)
downloadkernel-qcow2-linux-6025c19fb208e93b99eafc304e7f16160e49fc88.tar.gz
kernel-qcow2-linux-6025c19fb208e93b99eafc304e7f16160e49fc88.tar.xz
kernel-qcow2-linux-6025c19fb208e93b99eafc304e7f16160e49fc88.zip
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.h7
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);