mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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>
This commit is contained in:
parent
7ad9be64e8
commit
56d1b4d21d
14 changed files with 22 additions and 43 deletions
|
@ -441,8 +441,7 @@ static void nbd_teardown_connection(BlockDriverState *bs)
|
|||
closesocket(s->sock);
|
||||
}
|
||||
|
||||
static int nbd_open(BlockDriverState *bs, const char* filename,
|
||||
QDict *options, int flags)
|
||||
static int nbd_open(BlockDriverState *bs, QDict *options, int flags)
|
||||
{
|
||||
BDRVNBDState *s = bs->opaque;
|
||||
int result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue