diff options
| author | Liu Yuan | 2013-03-24 08:41:15 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-03-25 09:51:43 +0100 |
| commit | d43731c75830dc63ae94282d84208a5652095bb7 (patch) | |
| tree | e66f12ba25edbfb0e62438ade4cc7bf7ec8ae7aa /block | |
| parent | Remove device_tree.o from hw/moxie/Makefile.objs. (diff) | |
| download | qemu-d43731c75830dc63ae94282d84208a5652095bb7.tar.gz qemu-d43731c75830dc63ae94282d84208a5652095bb7.tar.xz qemu-d43731c75830dc63ae94282d84208a5652095bb7.zip | |
rbd: fix compile error
Commit 787e4a85 [block: Add options QDict to bdrv_file_open() prototypes] didn't
update rbd.c accordingly.
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block')
| -rw-r--r-- | block/rbd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/rbd.c b/block/rbd.c index 8cd10a7b59..1a8ea6d492 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -441,7 +441,8 @@ static int qemu_rbd_aio_flush_cb(void *opaque) return (s->qemu_aio_count > 0); } -static int qemu_rbd_open(BlockDriverState *bs, const char *filename, int flags) +static int qemu_rbd_open(BlockDriverState *bs, const char *filename, + QDict *options, int flags) { BDRVRBDState *s = bs->opaque; char pool[RBD_MAX_POOL_NAME_SIZE]; |
