]> Git Repo - qemu.git/commitdiff
mirror: Replace bdrv_drain(bs) with bdrv_co_drain(bs)
authorFam Zheng <[email protected]>
Tue, 5 Apr 2016 11:20:53 +0000 (19:20 +0800)
committerStefan Hajnoczi <[email protected]>
Mon, 11 Apr 2016 15:59:09 +0000 (16:59 +0100)
Suggested-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Fam Zheng <[email protected]>
Message-id: 1459855253[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/mirror.c

index f64db1a69b7ccd5bc8797467a0fd961cd0dcab69..c2cfc1a5ef5516dfb1db0ae32fba05fa3a84b3c7 100644 (file)
@@ -650,7 +650,7 @@ static void coroutine_fn mirror_run(void *opaque)
              * mirror_populate runs.
              */
             trace_mirror_before_drain(s, cnt);
-            bdrv_drain(bs);
+            bdrv_co_drain(bs);
             cnt = bdrv_get_dirty_count(s->dirty_bitmap);
         }
 
This page took 0.027154 seconds and 4 git commands to generate.