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 /block/iscsi.c | |
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 'block/iscsi.c')
-rw-r--r-- | block/iscsi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/block/iscsi.c b/block/iscsi.c index 907beba4a4..f7199c1abb 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -1021,8 +1021,7 @@ static QemuOptsList runtime_opts = { * We support iscsi url's on the form * iscsi://[<username>%<password>@]<host>[:<port>]/<targetname>/<lun> */ -static int iscsi_open(BlockDriverState *bs, const char *dummy, - QDict *options, int flags) +static int iscsi_open(BlockDriverState *bs, QDict *options, int flags) { IscsiLun *iscsilun = bs->opaque; struct iscsi_context *iscsi = NULL; @@ -1237,7 +1236,7 @@ static int iscsi_create(const char *filename, QEMUOptionParameter *options) bs_options = qdict_new(); qdict_put(bs_options, "filename", qstring_from_str(filename)); - ret = iscsi_open(&bs, NULL, bs_options, 0); + ret = iscsi_open(&bs, bs_options, 0); QDECREF(bs_options); if (ret != 0) { |