diff --git a/disk-io.c b/disk-io.c index 6a538433..fdcfd6dd 100644 --- a/disk-io.c +++ b/disk-io.c @@ -571,6 +571,8 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans, goto commit_tree; if (root == root->fs_info->tree_root) goto commit_tree; + if (root == root->fs_info->chunk_root) + goto commit_tree; free_extent_buffer(root->commit_root); root->commit_root = NULL;