diff options
Diffstat (limited to 'disk-io.c')
-rw-r--r-- | disk-io.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -475,6 +475,8 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans, if (root->commit_root == root->node) goto commit_tree; + if (root == root->fs_info->tree_root) + goto commit_tree; free_extent_buffer(root->commit_root); root->commit_root = NULL; |