<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 2d244a80340fe4ad66218f8cca1fe84119172ce3 Mon Sep 17 00:00:00 2001
Message-Id: &lt;2d244a80340fe4ad66218f8cca1fe84119172ce3.1335361915.git.minovotn@redhat.com&gt;
In-Reply-To: &lt;ce1a7d1539a0b4b36555d1035257f57af7ae8478.1335361915.git.minovotn@redhat.com&gt;
References: &lt;ce1a7d1539a0b4b36555d1035257f57af7ae8478.1335361915.git.minovotn@redhat.com&gt;
From: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Date: Tue, 24 Apr 2012 14:01:35 +0200
Subject: [PATCH 8/8] mirror: do not reset sector_num

RH-Author: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-id: &lt;1335276095-25813-9-git-send-email-pbonzini@redhat.com&gt;
Patchwork-id: 39433
O-Subject: [RHEL 6.3 qemu-kvm PATCH 8/8] mirror: do not reset sector_num
Bugzilla: 813862
RH-Acked-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
RH-Acked-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
RH-Acked-by: Jeffrey Cody &lt;jcody@redhat.com&gt;

Bugzilla: 813862

RHEL-only.
---
 block/mirror.c |    1 -
 1 file changed, 1 deletion(-)

Signed-off-by: Michal Novotny &lt;minovotn@redhat.com&gt;
---
 block/mirror.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/block/mirror.c b/block/mirror.c
index 03e4db8..1460031 100644
--- a/block/mirror.c
+++ b/block/mirror.c
@@ -166,7 +166,6 @@ static void coroutine_fn mirror_run(void *opaque)
              * used to pivot to the mirroring target.
              */
             synced = true;
-            sector_num = -1;
             s-&gt;common.offset = end * BDRV_SECTOR_SIZE;
         }
 
-- 
1.7.7.6

</pre></body></html>