diff options
author | Kevin Wolf <kwolf@redhat.com> | 2010-03-31 14:40:27 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-04-23 16:08:46 +0200 |
commit | f5010d6188653a97ac5074fa7ef51acef7179175 (patch) | |
tree | 29a16b6152876e8ea74703052c94675bfdeb51ea /block.h | |
parent | 79bc7820d2aad05f68bf1681648e37a0ee2d87ed (diff) | |
download | qemu-f5010d6188653a97ac5074fa7ef51acef7179175.tar.gz qemu-f5010d6188653a97ac5074fa7ef51acef7179175.tar.bz2 qemu-f5010d6188653a97ac5074fa7ef51acef7179175.zip |
Replace calls of old bdrv_open
What is known today as bdrv_open2 becomes the new bdrv_open. All remaining
callers of the old function are converted to the new one. In some places they
even know the right format, so they should have used bdrv_open2 from the
beginning.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.h')
-rw-r--r-- | block.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -68,9 +68,8 @@ int bdrv_create2(BlockDriver *drv, BlockDriverState *bdrv_new(const char *device_name); void bdrv_delete(BlockDriverState *bs); int bdrv_file_open(BlockDriverState **pbs, const char *filename, int flags); -int bdrv_open(BlockDriverState *bs, const char *filename, int flags); -int bdrv_open2(BlockDriverState *bs, const char *filename, int flags, - BlockDriver *drv); +int bdrv_open(BlockDriverState *bs, const char *filename, int flags, + BlockDriver *drv); void bdrv_close(BlockDriverState *bs); int bdrv_check(BlockDriverState *bs); int bdrv_read(BlockDriverState *bs, int64_t sector_num, |