Permalink
Browse files

Merge pull request #19 from jonludlam/CA-88376

CA-88376: Reset the nbd_mirror_failed flag when disabling mirroring
  • Loading branch information...
andreil committed Aug 9, 2012
2 parents 2132029 + 227d897 commit 7f1e46f434529d3228c8ee802569fded03d170d2
Showing with 1 addition and 0 deletions.
  1. +1 −0 drivers/tapdisk-vbd.c
View
@@ -281,6 +281,7 @@ tapdisk_vbd_add_secondary(td_vbd_t *vbd)
DPRINTF("Removing secondary image\n");
vbd->secondary_mode = TD_VBD_SECONDARY_DISABLED;
vbd->secondary = NULL;
+ vbd->nbd_mirror_failed = 0;
return 0;
}

0 comments on commit 7f1e46f

Please sign in to comment.