diff options
author | Alberto Garcia <berto@igalia.com> | 2018-11-12 16:00:44 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-12-14 11:55:02 +0100 |
commit | 2e891722c5e3d0372e042173a425925e14749bf0 (patch) | |
tree | cf427252602e66b28c508e17127a8a9c4411f23e /include/block | |
parent | 3c4e964762c7d0292185473657dd2afc0d2d060b (diff) | |
download | qemu-2e891722c5e3d0372e042173a425925e14749bf0.zip qemu-2e891722c5e3d0372e042173a425925e14749bf0.tar.gz qemu-2e891722c5e3d0372e042173a425925e14749bf0.tar.bz2 |
block: Remove flags parameter from bdrv_reopen_queue()
Now that all callers are passing all flag changes as QDict options,
the flags parameter is no longer necessary, so we can get rid of 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')
-rw-r--r-- | include/block/block.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/block/block.h b/include/block/block.h index de72c7a..f70a843 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -299,8 +299,7 @@ BlockDriverState *bdrv_open(const char *filename, const char *reference, BlockDriverState *bdrv_new_open_driver(BlockDriver *drv, const char *node_name, int flags, Error **errp); BlockReopenQueue *bdrv_reopen_queue(BlockReopenQueue *bs_queue, - BlockDriverState *bs, - QDict *options, int flags); + BlockDriverState *bs, QDict *options); int bdrv_reopen_multiple(AioContext *ctx, BlockReopenQueue *bs_queue, Error **errp); int bdrv_reopen_set_read_only(BlockDriverState *bs, bool read_only, Error **errp); |