]> git.proxmox.com Git - mirror_qemu.git/commit - block/mirror.c
mirror: Add mirror_wait_for_io
authorFam Zheng <famz@redhat.com>
Fri, 5 Feb 2016 02:00:30 +0000 (10:00 +0800)
committerJeff Cody <jcody@redhat.com>
Mon, 29 Feb 2016 19:54:31 +0000 (14:54 -0500)
commit21cd917ff5ff30dbba49dd805da033f8c92fa958
treee26bef8c63581f079d7f2a9371c95f876c73e5bb
parente5b43573e28b226621ac6ed9ad71e1a72d71922d
mirror: Add mirror_wait_for_io

The three lines are duplicated a number of times now, refactor a
function.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1454637630-10585-3-git-send-email-famz@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/mirror.c