From a7282330c01364ef00260749bc6a37c7f16ec047 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Fri, 3 Apr 2015 22:05:21 +0800 Subject: blockjob: Update function name in comments Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi Reviewed-by: Paolo Bonzini Reviewed-by: Alberto Garcia Message-id: 1428069921-2957-5-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- block/mirror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block/mirror.c') diff --git a/block/mirror.c b/block/mirror.c index 65b1718..d421fce 100644 --- a/block/mirror.c +++ b/block/mirror.c @@ -475,7 +475,7 @@ static void coroutine_fn mirror_run(void *opaque) (cnt + s->sectors_in_flight) * BDRV_SECTOR_SIZE; /* Note that even when no rate limit is applied we need to yield - * periodically with no pending I/O so that qemu_aio_flush() returns. + * periodically with no pending I/O so that bdrv_drain_all() returns. * We do so every SLICE_TIME nanoseconds, or when there is an error, * or when the source is clean, whichever comes first. */ -- cgit v1.1