block/stream: Fix error path
As of commitc624b015bf
, the stream job only freezes the chain until the overlay of the base node. The error path must consider this. Fixes:c624b015bf
Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20190703172813.6868-3-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
e5182c1c57
commit
17a7c39248
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user