diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2018-07-31 23:32:27 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 07:13:00 -0400 |
commit | ab9ce7d42bf66f0750a4ca4a228a2db238376afb (patch) | |
tree | 323f06a936bec590bf2b69ccfe56bc6588c2599a /fs/btrfs/ctree.h | |
parent | 9add29457ac124e846cde4b875c632edaa722c08 (diff) |
btrfs: Remove fs_info from btrfs_del_root
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 2e32584c635f..9ef47a171e2f 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -2993,7 +2993,7 @@ int btrfs_del_root_ref(struct btrfs_trans_handle *trans, | |||
2993 | u64 root_id, u64 ref_id, u64 dirid, u64 *sequence, | 2993 | u64 root_id, u64 ref_id, u64 dirid, u64 *sequence, |
2994 | const char *name, int name_len); | 2994 | const char *name, int name_len); |
2995 | int btrfs_del_root(struct btrfs_trans_handle *trans, | 2995 | int btrfs_del_root(struct btrfs_trans_handle *trans, |
2996 | struct btrfs_fs_info *fs_info, const struct btrfs_key *key); | 2996 | const struct btrfs_key *key); |
2997 | int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, | 2997 | int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, |
2998 | const struct btrfs_key *key, | 2998 | const struct btrfs_key *key, |
2999 | struct btrfs_root_item *item); | 2999 | struct btrfs_root_item *item); |