aboutsummaryrefslogtreecommitdiff
path: root/block/io.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-04-08 11:34:45 +0800
committerFam Zheng <famz@redhat.com>2017-04-11 20:07:15 +0800
commit14e9559f4624e704a53d0789124b6f9ea9ebb5ca (patch)
tree11441385cdce1ec3129568cff939858408daf8a6 /block/io.c
parent17fa24b79ceaa8258e415822cf2e2cb23cf3facb (diff)
downloadqemu-14e9559f4624e704a53d0789124b6f9ea9ebb5ca.zip
qemu-14e9559f4624e704a53d0789124b6f9ea9ebb5ca.tar.gz
qemu-14e9559f4624e704a53d0789124b6f9ea9ebb5ca.tar.bz2
block: Make bdrv_parent_drained_begin/end public
Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/io.c')
-rw-r--r--block/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/io.c b/block/io.c
index 7321dda..9598646 100644
--- a/block/io.c
+++ b/block/io.c
@@ -44,7 +44,7 @@ static void coroutine_fn bdrv_co_do_rw(void *opaque);
static int coroutine_fn bdrv_co_do_pwrite_zeroes(BlockDriverState *bs,
int64_t offset, int count, BdrvRequestFlags flags);
-static void bdrv_parent_drained_begin(BlockDriverState *bs)
+void bdrv_parent_drained_begin(BlockDriverState *bs)
{
BdrvChild *c;
@@ -55,7 +55,7 @@ static void bdrv_parent_drained_begin(BlockDriverState *bs)
}
}
-static void bdrv_parent_drained_end(BlockDriverState *bs)
+void bdrv_parent_drained_end(BlockDriverState *bs)
{
BdrvChild *c;