summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorFam Zheng2017-04-08 05:34:45 +0200
committerFam Zheng2017-04-11 14:07:15 +0200
commit14e9559f4624e704a53d0789124b6f9ea9ebb5ca (patch)
tree11441385cdce1ec3129568cff939858408daf8a6 /block
parentMerge remote-tracking branch 'remotes/kraxel/tags/pull-fixes-20170411-1' into... (diff)
downloadqemu-14e9559f4624e704a53d0789124b6f9ea9ebb5ca.tar.gz
qemu-14e9559f4624e704a53d0789124b6f9ea9ebb5ca.tar.xz
qemu-14e9559f4624e704a53d0789124b6f9ea9ebb5ca.zip
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')
-rw-r--r--block/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/io.c b/block/io.c
index 7321ddab3d..959864678f 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;