···90289028 if (err)90299029 goto out_end_trans;9030903090319031- ret = btrfs_del_root(trans, fs_info, &root->root_key);90319031+ ret = btrfs_del_root(trans, &root->root_key);90329032 if (ret) {90339033 btrfs_abort_transaction(trans, ret);90349034 err = ret;
+1-1
fs/btrfs/free-space-tree.c
···12361236 if (ret)12371237 goto abort;1238123812391239- ret = btrfs_del_root(trans, fs_info, &free_space_root->root_key);12391239+ ret = btrfs_del_root(trans, &free_space_root->root_key);12401240 if (ret)12411241 goto abort;12421242
+1-1
fs/btrfs/qgroup.c
···10881088 goto end_trans;10891089 }1090109010911091- ret = btrfs_del_root(trans, fs_info, "a_root->root_key);10911091+ ret = btrfs_del_root(trans, "a_root->root_key);10921092 if (ret) {10931093 btrfs_abort_transaction(trans, ret);10941094 goto end_trans;
+2-2
fs/btrfs/root-tree.c
···320320321321/* drop the root item for 'key' from the tree root */322322int btrfs_del_root(struct btrfs_trans_handle *trans,323323- struct btrfs_fs_info *fs_info, const struct btrfs_key *key)323323+ const struct btrfs_key *key)324324{325325- struct btrfs_root *root = fs_info->tree_root;325325+ struct btrfs_root *root = trans->fs_info->tree_root;326326 struct btrfs_path *path;327327 int ret;328328