]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/block-copy: fix s->copy_size for compressed cluster
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 29 Oct 2019 15:09:34 +0000 (18:09 +0300)
committerMax Reitz <mreitz@redhat.com>
Mon, 4 Nov 2019 08:21:45 +0000 (09:21 +0100)
commitdcfbece68441bfbe6803de60ab5a8045196094b4
tree63dcde0cd0cd01c57caab4d6329dfb9a83e87386
parent407d22eb5b5f9eeb75e450ef52c84e202b170838
block/block-copy: fix s->copy_size for compressed cluster

0e2402452f1f20429 allowed writes larger than cluster, but that's
unsupported for compressed write. Fix it.

Fixes: 0e2402452f1f20429
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20191029150934.26416-1-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/block-copy.c