]> git.proxmox.com Git - pve-qemu.git/commitdiff
backup: Fix spelling error in function name
authorFilip Schauer <f.schauer@proxmox.com>
Fri, 8 Sep 2023 08:49:07 +0000 (10:49 +0200)
committerFiona Ebner <f.ebner@proxmox.com>
Fri, 8 Sep 2023 09:13:04 +0000 (11:13 +0200)
Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
[FE: fixup patch context]
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
debian/patches/pve/0030-PVE-Backup-Proxmox-backup-patches-for-QEMU.patch
debian/patches/pve/0034-PVE-Migrate-dirty-bitmap-state-via-savevm.patch

index 24fb3f08a2e5f53ec9f2b5ed6e557a72a46246c2..7a4881bd57411eacb12618803519f7754eb95eb6 100644 (file)
@@ -586,7 +586,7 @@ index 0000000000..8cbf645b2c
 +#endif /* PROXMOX_BACKUP_CLIENT_H */
 diff --git a/pve-backup.c b/pve-backup.c
 new file mode 100644
-index 0000000000..8ff0d88297
+index 0000000000..21441b2f97
 --- /dev/null
 +++ b/pve-backup.c
 @@ -0,0 +1,1067 @@
@@ -700,7 +700,7 @@ index 0000000000..8ff0d88297
 +    return error_or_canceled;
 +}
 +
-+static void pvebackup_add_transfered_bytes(size_t transferred, size_t zero_bytes, size_t reused)
++static void pvebackup_add_transferred_bytes(size_t transferred, size_t zero_bytes, size_t reused)
 +{
 +    qemu_mutex_lock(&backup_state.stat.lock);
 +    backup_state.stat.zero_bytes += zero_bytes;
@@ -761,7 +761,7 @@ index 0000000000..8ff0d88297
 +    }
 +
 +    qemu_co_mutex_unlock(&backup_state.dump_callback_mutex);
-+    pvebackup_add_transfered_bytes(size, is_zero_block ? size : 0, reused);
++    pvebackup_add_transferred_bytes(size, is_zero_block ? size : 0, reused);
 +
 +    return size;
 +}
@@ -819,11 +819,11 @@ index 0000000000..8ff0d88297
 +        } else {
 +            if (remaining >= VMA_CLUSTER_SIZE) {
 +                assert(ret == VMA_CLUSTER_SIZE);
-+                pvebackup_add_transfered_bytes(VMA_CLUSTER_SIZE, zero_bytes, 0);
++                pvebackup_add_transferred_bytes(VMA_CLUSTER_SIZE, zero_bytes, 0);
 +                remaining -= VMA_CLUSTER_SIZE;
 +            } else {
 +                assert(ret == remaining);
-+                pvebackup_add_transfered_bytes(remaining, zero_bytes, 0);
++                pvebackup_add_transferred_bytes(remaining, zero_bytes, 0);
 +                remaining = 0;
 +            }
 +        }
index a953bd4be7b90439bb609a61bb7458ae280c8e1f..6da71b7248f07e1f2145e8714824a7bc7a60b4a1 100644 (file)
@@ -175,7 +175,7 @@ index 0000000000..887e998b9e
 +                         NULL);
 +}
 diff --git a/pve-backup.c b/pve-backup.c
-index 8ff0d88297..53f5c5e311 100644
+index 21441b2f97..5e5c37e06d 100644
 --- a/pve-backup.c
 +++ b/pve-backup.c
 @@ -1060,6 +1060,7 @@ ProxmoxSupportStatus *qmp_query_proxmox_support(Error **errp)