Commit 17a7c392 authored by Max Reitz's avatar Max Reitz
Browse files

block/stream: Fix error path



As of commit c624b015, the stream job
only freezes the chain until the overlay of the base node.  The error
path must consider this.

Fixes: c624b015
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Message-id: 20190703172813.6868-3-mreitz@redhat.com
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
parent e5182c1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -284,5 +284,5 @@ fail:
    if (bs_read_only) {
        bdrv_reopen_set_read_only(bs, true, NULL);
    }
    bdrv_unfreeze_backing_chain(bs, base);
    bdrv_unfreeze_backing_chain(bs, bottom);
}