diff options
author | Fam Zheng <famz@redhat.com> | 2017-04-08 11:34:45 +0800 |
---|---|---|
committer | Fam Zheng <famz@redhat.com> | 2017-04-11 20:07:15 +0800 |
commit | 14e9559f4624e704a53d0789124b6f9ea9ebb5ca (patch) | |
tree | 11441385cdce1ec3129568cff939858408daf8a6 /block/io.c | |
parent | 17fa24b79ceaa8258e415822cf2e2cb23cf3facb (diff) | |
download | qemu-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |