Re: [Qemu-devel] [PATCH] blockdev: fix bitmap clear undo

2017-03-16 Thread Kevin Wolf
Am 15.03.2017 um 22:28 hat John Snow geschrieben: > Only undo the action if we actually prepared the action. > > Signed-off-by: John Snow Thanks, applied to the block branch. Kevin

Re: [Qemu-devel] [PATCH] blockdev: fix bitmap clear undo

2017-03-15 Thread Eric Blake
On 03/15/2017 04:28 PM, John Snow wrote: > Only undo the action if we actually prepared the action. > > Signed-off-by: John Snow > --- > blockdev.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Eric Blake > > diff --git a/blockdev.c b/blockdev.c > index f1f49bd..c5b

[Qemu-devel] [PATCH] blockdev: fix bitmap clear undo

2017-03-15 Thread John Snow
Only undo the action if we actually prepared the action. Signed-off-by: John Snow --- blockdev.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blockdev.c b/blockdev.c index f1f49bd..c5b2c2c 100644 --- a/blockdev.c +++ b/blockdev.c @@ -2047,7 +2047,9 @@ static void block_