summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorMax Reitz2019-07-19 11:26:12 +0200
committerKevin Wolf2019-07-19 13:19:16 +0200
commitf4c8a43be080fc919bc1ba18e70d83eb0e5be7ec (patch)
tree86b12767969f07578637f5b9e9e70d88dd00e0da /include/block
parentblock: Add @drained_end_counter (diff)
downloadqemu-f4c8a43be080fc919bc1ba18e70d83eb0e5be7ec.tar.gz
qemu-f4c8a43be080fc919bc1ba18e70d83eb0e5be7ec.tar.xz
qemu-f4c8a43be080fc919bc1ba18e70d83eb0e5be7ec.zip
block: Make bdrv_parent_drained_[^_]*() static
These functions are not used outside of block/io.c, there is no reason why they should be globally available. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/block/block.h b/include/block/block.h
index bff3317696..a81645e8a3 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -601,15 +601,6 @@ void bdrv_io_plug(BlockDriverState *bs);
void bdrv_io_unplug(BlockDriverState *bs);
/**
- * bdrv_parent_drained_begin:
- *
- * Begin a quiesced section of all users of @bs. This is part of
- * bdrv_drained_begin.
- */
-void bdrv_parent_drained_begin(BlockDriverState *bs, BdrvChild *ignore,
- bool ignore_bds_parents);
-
-/**
* bdrv_parent_drained_begin_single:
*
* Begin a quiesced section for the parent of @c. If @poll is true, wait for
@@ -625,15 +616,6 @@ void bdrv_parent_drained_begin_single(BdrvChild *c, bool poll);
void bdrv_parent_drained_end_single(BdrvChild *c);
/**
- * bdrv_parent_drained_end:
- *
- * End a quiesced section of all users of @bs. This is part of
- * bdrv_drained_end.
- */
-void bdrv_parent_drained_end(BlockDriverState *bs, BdrvChild *ignore,
- bool ignore_bds_parents);
-
-/**
* bdrv_drain_poll:
*
* Poll for pending requests in @bs, its parents (except for @ignore_parent),