summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorLu Fengqi2018-08-01 05:32:28 +0200
committerDavid Sterba2018-08-06 13:13:00 +0200
commit3ee1c5530e649182e602eb2f81193289c4d2e655 (patch)
tree16cd037da6d7f124db1ba19c5096d200ed7bba91 /fs/btrfs/ctree.h
parentbtrfs: Remove fs_info from btrfs_del_root (diff)
downloadkernel-qcow2-linux-3ee1c5530e649182e602eb2f81193289c4d2e655.tar.gz
kernel-qcow2-linux-3ee1c5530e649182e602eb2f81193289c4d2e655.tar.xz
kernel-qcow2-linux-3ee1c5530e649182e602eb2f81193289c4d2e655.zip
btrfs: Remove fs_info from btrfs_del_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 9ef47a171e2f..3677082ddf4c 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2988,10 +2988,9 @@ 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_del_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_del_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(struct btrfs_trans_handle *trans,
const struct btrfs_key *key);
int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,