diff options
author | Kevin Wolf | 2013-04-12 20:02:37 +0200 |
---|---|---|
committer | Kevin Wolf | 2013-04-22 11:34:35 +0200 |
commit | 56d1b4d21d444619302d3f1291a133b1c2b9b072 (patch) | |
tree | d11c298da04c8342088cba4ae75cd51e381d15ad /block/vvfat.c | |
parent | vvfat: Use bdrv_open options instead of filename (diff) | |
download | qemu-56d1b4d21d444619302d3f1291a133b1c2b9b072.tar.gz qemu-56d1b4d21d444619302d3f1291a133b1c2b9b072.tar.xz qemu-56d1b4d21d444619302d3f1291a133b1c2b9b072.zip |
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 'block/vvfat.c')
-rw-r--r-- | block/vvfat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/vvfat.c b/block/vvfat.c index f4c06b9d50..87b02799d0 100644 --- a/block/vvfat.c +++ b/block/vvfat.c @@ -1065,8 +1065,7 @@ static void vvfat_parse_filename(const char *filename, QDict *options, qdict_put(options, "rw", qbool_from_int(rw)); } -static int vvfat_open(BlockDriverState *bs, const char* dummy, - QDict *options, int flags) +static int vvfat_open(BlockDriverState *bs, QDict *options, int flags) { BDRVVVFATState *s = bs->opaque; int cyls, heads, secs; |