fixup: proxmox_backup_check_incremental is negated
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
dfed71b229
commit
4c17eebee4
@ -10,14 +10,14 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
||||
1 file changed, 8 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/pve-backup.c b/pve-backup.c
|
||||
index bda1635b82..26f83ecda0 100644
|
||||
index bda1635b82..46191bb328 100644
|
||||
--- a/pve-backup.c
|
||||
+++ b/pve-backup.c
|
||||
@@ -728,17 +728,22 @@ static void coroutine_fn pvebackup_co_prepare(void *opaque)
|
||||
BdrvDirtyBitmap *bitmap = bdrv_find_dirty_bitmap(di->bs, PBS_BITMAP_NAME);
|
||||
|
||||
if (use_dirty_bitmap) {
|
||||
+ use_dirty_bitmap = proxmox_backup_check_incremental(pbs, devname, di->size) == 0;
|
||||
+ use_dirty_bitmap = proxmox_backup_check_incremental(pbs, devname, di->size) != 0;
|
||||
+
|
||||
if (bitmap == NULL) {
|
||||
bitmap = bdrv_create_dirty_bitmap(di->bs, dump_cb_block_size, PBS_BITMAP_NAME, task->errp);
|
||||
|
Loading…
Reference in New Issue
Block a user