aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2019-04-02 22:05:20 -0500
committerEric Blake <eblake@redhat.com>2019-04-08 13:36:04 -0500
commit2178a569be16b18f04ed854d24fd2281b6a429c5 (patch)
tree47ab9097ed2740021cfb30a7a491211c681b4b6d /qemu-img.c
parent2c573106279495795449b0d0373464b597dfe316 (diff)
nbd/server: Fix blockstatus trace
Don't increment remaining_bytes until we know that we will actually be including the current block status extent in the reply; otherwise, the value traced will include a bytes value that is oversized by the length of the next block status extent which did not get sent because it instead ended the loop. Fixes: fb7afc79 Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20190403030526.12258-2-eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions