diff options
| author | Max Reitz | 2019-07-03 19:28:03 +0200 |
|---|---|---|
| committer | Max Reitz | 2019-07-15 15:48:40 +0200 |
| commit | 17a7c39248fc629469d6f66c6122db841b736bc7 (patch) | |
| tree | 494171706346fac2c463568044721a835513b744 /block | |
| parent | block: Add BDS.never_freeze (diff) | |
| download | qemu-17a7c39248fc629469d6f66c6122db841b736bc7.tar.gz qemu-17a7c39248fc629469d6f66c6122db841b736bc7.tar.xz qemu-17a7c39248fc629469d6f66c6122db841b736bc7.zip | |
block/stream: Fix error path
As of commit c624b015bf14fe01f1e6452a36e63b3ea1ae4998, the stream job
only freezes the chain until the overlay of the base node. The error
path must consider this.
Fixes: c624b015bf14fe01f1e6452a36e63b3ea1ae4998
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190703172813.6868-3-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block')
| -rw-r--r-- | block/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/stream.c b/block/stream.c index cd5e2ba9b0..b27e61625d 100644 --- a/block/stream.c +++ b/block/stream.c @@ -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); } |
