]> xenbits.xensource.com Git - libvirt.git/commit
qemuBackupDiskStarted: Fix improper dereference of array
authorPeter Krempa <pkrempa@redhat.com>
Tue, 23 Jun 2020 05:44:45 +0000 (07:44 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 23 Jun 2020 09:23:01 +0000 (11:23 +0200)
commit214faa0b04ace42aebfa40e1d19aabbf3003f0fe
treea51296b77cf14b700c9d929e83143de67b25e411
parent2d26f8b710d259a3e164a2bea3c9f9dc0de9b419
qemuBackupDiskStarted: Fix improper dereference of array

The code would repeatedly mark the first disk's blockjob as started
rather than accessing all the blockjobs. Fix the dereferencing operator.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_backup.c