summaryrefslogtreecommitdiffstats
path: root/include/block/block.h
diff options
context:
space:
mode:
authorAlberto Garcia2018-11-12 15:00:41 +0100
committerKevin Wolf2018-12-14 11:55:02 +0100
commit295cf237c2e5112de3e2aa7c3dbc80580b80bf88 (patch)
tree15c7d2a3e26cc6c1705170d4b92aecc0394984d5 /include/block/block.h
parentblock: Use bdrv_reopen_set_read_only() in the mirror driver (diff)
downloadqemu-295cf237c2e5112de3e2aa7c3dbc80580b80bf88.tar.gz
qemu-295cf237c2e5112de3e2aa7c3dbc80580b80bf88.tar.xz
qemu-295cf237c2e5112de3e2aa7c3dbc80580b80bf88.zip
block: Drop bdrv_reopen()
No one is using this function anymore, so we can safely remove it. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block/block.h')
-rw-r--r--include/block/block.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/block.h b/include/block/block.h
index 382e6643fc..de72c7a093 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -302,7 +302,6 @@ BlockReopenQueue *bdrv_reopen_queue(BlockReopenQueue *bs_queue,
BlockDriverState *bs,
QDict *options, int flags);
int bdrv_reopen_multiple(AioContext *ctx, BlockReopenQueue *bs_queue, Error **errp);
-int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp);
int bdrv_reopen_set_read_only(BlockDriverState *bs, bool read_only,
Error **errp);
int bdrv_reopen_prepare(BDRVReopenState *reopen_state,