diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-04-12 20:02:37 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-04-22 11:34:35 +0200 |
commit | 56d1b4d21d444619302d3f1291a133b1c2b9b072 (patch) | |
tree | d11c298da04c8342088cba4ae75cd51e381d15ad /include/block/block_int.h | |
parent | 7ad9be64e8ac17811ff358279ef7193cc623da1a (diff) |
block: Remove filename parameter from .bdrv_file_open()
It is unused now in all block drivers.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/block/block_int.h')
-rw-r--r-- | include/block/block_int.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index 458cde3766..6078dd389f 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -87,8 +87,7 @@ struct BlockDriver { void (*bdrv_reopen_abort)(BDRVReopenState *reopen_state); int (*bdrv_open)(BlockDriverState *bs, QDict *options, int flags); - int (*bdrv_file_open)(BlockDriverState *bs, const char *filename, - QDict *options, int flags); + int (*bdrv_file_open)(BlockDriverState *bs, QDict *options, int flags); int (*bdrv_read)(BlockDriverState *bs, int64_t sector_num, uint8_t *buf, int nb_sectors); int (*bdrv_write)(BlockDriverState *bs, int64_t sector_num, |