aboutsummaryrefslogtreecommitdiff
path: root/block/rbd.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-04-12 20:02:37 +0200
committerKevin Wolf <kwolf@redhat.com>2013-04-22 11:34:35 +0200
commit56d1b4d21d444619302d3f1291a133b1c2b9b072 (patch)
treed11c298da04c8342088cba4ae75cd51e381d15ad /block/rbd.c
parent7ad9be64e8ac17811ff358279ef7193cc623da1a (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/rbd.c')
-rw-r--r--block/rbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/rbd.c b/block/rbd.c
index 0d68145881..1826411492 100644
--- a/block/rbd.c
+++ b/block/rbd.c
@@ -455,8 +455,7 @@ static QemuOptsList runtime_opts = {
},
};
-static int qemu_rbd_open(BlockDriverState *bs, const char *dummy,
- QDict *options, int flags)
+static int qemu_rbd_open(BlockDriverState *bs, QDict *options, int flags)
{
BDRVRBDState *s = bs->opaque;
char pool[RBD_MAX_POOL_NAME_SIZE];