OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5182c1
)
block/stream: Fix error path
author
Max Reitz
<mreitz@redhat.com>
Wed, 3 Jul 2019 17:28:03 +0000
(19:28 +0200)
committer
Max Reitz
<mreitz@redhat.com>
Mon, 15 Jul 2019 13:48:40 +0000
(15:48 +0200)
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>
block/stream.c
patch
|
blob
|
history
diff --git
a/block/stream.c
b/block/stream.c
index
cd5e2ba
..
b27e616
100644
(file)
--- 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, b
ase
);
+ bdrv_unfreeze_backing_chain(bs, b
ottom
);
}