diff options
author | Jeff Mahoney <jeffm@suse.com> | 2017-08-17 17:25:11 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-08-21 18:49:54 +0300 |
commit | 1cd5447eb677822c5c22bb52161c2105507dcce0 (patch) | |
tree | 04e4163472d70b0679931b5adefbe232fb0a95b0 /fs/btrfs/ctree.h | |
parent | 64ecdb647ddb83dcff9c8e2a5c40119f171ea004 (diff) | |
download | linux-1cd5447eb677822c5c22bb52161c2105507dcce0.tar.xz |
btrfs: pass fs_info to btrfs_del_root instead of tree_root
btrfs_del_roots always uses the tree_root. Let's pass fs_info instead.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index b7cfc74c1757..2add002662f4 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2988,8 +2988,8 @@ 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(struct btrfs_trans_handle *trans, struct btrfs_root *root, - const struct btrfs_key *key); +int btrfs_del_root(struct btrfs_trans_handle *trans, + struct btrfs_fs_info *fs_info, const struct btrfs_key *key); int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_root_item *item); |