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/nbd.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/nbd.c')
-rw-r--r-- | block/nbd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/nbd.c b/block/nbd.c index eff683c8df..61b7c9b6fe 100644 --- a/block/nbd.c +++ b/block/nbd.c @@ -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; |