summaryrefslogtreecommitdiffstats
path: root/block/sheepdog.c
diff options
context:
space:
mode:
authorKevin Wolf2013-04-12 20:02:37 +0200
committerKevin Wolf2013-04-22 11:34:35 +0200
commit56d1b4d21d444619302d3f1291a133b1c2b9b072 (patch)
treed11c298da04c8342088cba4ae75cd51e381d15ad /block/sheepdog.c
parentvvfat: Use bdrv_open options instead of filename (diff)
downloadqemu-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/sheepdog.c')
-rw-r--r--block/sheepdog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/sheepdog.c b/block/sheepdog.c
index e224c51345..20b5d06c52 100644
--- a/block/sheepdog.c
+++ b/block/sheepdog.c
@@ -1140,8 +1140,7 @@ static QemuOptsList runtime_opts = {
},
};
-static int sd_open(BlockDriverState *bs, const char *dummy,
- QDict *options, int flags)
+static int sd_open(BlockDriverState *bs, QDict *options, int flags)
{
int ret, fd;
uint32_t vid = 0;