Loading fs/btrfs/ctree.h +1 −1 Original line number Diff line number Diff line Loading @@ -2993,7 +2993,7 @@ 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, struct btrfs_fs_info *fs_info, const struct btrfs_key *key); 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); Loading fs/btrfs/extent-tree.c +1 −1 Original line number Diff line number Diff line Loading @@ -9028,7 +9028,7 @@ int btrfs_drop_snapshot(struct btrfs_root *root, if (err) goto out_end_trans; ret = btrfs_del_root(trans, fs_info, &root->root_key); ret = btrfs_del_root(trans, &root->root_key); if (ret) { btrfs_abort_transaction(trans, ret); err = ret; Loading fs/btrfs/free-space-tree.c +1 −1 Original line number Diff line number Diff line Loading @@ -1236,7 +1236,7 @@ int btrfs_clear_free_space_tree(struct btrfs_fs_info *fs_info) if (ret) goto abort; ret = btrfs_del_root(trans, fs_info, &free_space_root->root_key); ret = btrfs_del_root(trans, &free_space_root->root_key); if (ret) goto abort; Loading fs/btrfs/qgroup.c +1 −1 Original line number Diff line number Diff line Loading @@ -1088,7 +1088,7 @@ int btrfs_quota_disable(struct btrfs_fs_info *fs_info) goto end_trans; } ret = btrfs_del_root(trans, fs_info, "a_root->root_key); ret = btrfs_del_root(trans, "a_root->root_key); if (ret) { btrfs_abort_transaction(trans, ret); goto end_trans; Loading fs/btrfs/root-tree.c +2 −2 Original line number Diff line number Diff line Loading @@ -320,9 +320,9 @@ int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info) /* drop the root item for 'key' from the tree root */ int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, const struct btrfs_key *key) const struct btrfs_key *key) { struct btrfs_root *root = fs_info->tree_root; struct btrfs_root *root = trans->fs_info->tree_root; struct btrfs_path *path; int ret; Loading Loading
fs/btrfs/ctree.h +1 −1 Original line number Diff line number Diff line Loading @@ -2993,7 +2993,7 @@ 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, struct btrfs_fs_info *fs_info, const struct btrfs_key *key); 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); Loading
fs/btrfs/extent-tree.c +1 −1 Original line number Diff line number Diff line Loading @@ -9028,7 +9028,7 @@ int btrfs_drop_snapshot(struct btrfs_root *root, if (err) goto out_end_trans; ret = btrfs_del_root(trans, fs_info, &root->root_key); ret = btrfs_del_root(trans, &root->root_key); if (ret) { btrfs_abort_transaction(trans, ret); err = ret; Loading
fs/btrfs/free-space-tree.c +1 −1 Original line number Diff line number Diff line Loading @@ -1236,7 +1236,7 @@ int btrfs_clear_free_space_tree(struct btrfs_fs_info *fs_info) if (ret) goto abort; ret = btrfs_del_root(trans, fs_info, &free_space_root->root_key); ret = btrfs_del_root(trans, &free_space_root->root_key); if (ret) goto abort; Loading
fs/btrfs/qgroup.c +1 −1 Original line number Diff line number Diff line Loading @@ -1088,7 +1088,7 @@ int btrfs_quota_disable(struct btrfs_fs_info *fs_info) goto end_trans; } ret = btrfs_del_root(trans, fs_info, "a_root->root_key); ret = btrfs_del_root(trans, "a_root->root_key); if (ret) { btrfs_abort_transaction(trans, ret); goto end_trans; Loading
fs/btrfs/root-tree.c +2 −2 Original line number Diff line number Diff line Loading @@ -320,9 +320,9 @@ int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info) /* drop the root item for 'key' from the tree root */ int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, const struct btrfs_key *key) const struct btrfs_key *key) { struct btrfs_root *root = fs_info->tree_root; struct btrfs_root *root = trans->fs_info->tree_root; struct btrfs_path *path; int ret; Loading