Received: from eggs.gnu.org ([208.118.235.92]:45624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK5H0-0006OX-Dh for qemu-devel@nongnu.org; Mon, 25 Mar 2013 07:09:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK5Gx-0000gZ-7p for qemu-devel@nongnu.org; Mon, 25 Mar 2013 07:09:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK598-0006Jv-8D for qemu-devel@nongnu.org; Mon, 25 Mar 2013 07:00:58 -0400 From: Stefan Hajnoczi Date: Mon, 25 Mar 2013 12:00:48 +0100 Message-Id: <1364209249-30630-2-git-send-email-stefanha@redhat.com> In-Reply-To: <1364209249-30630-1-git-send-email-stefanha@redhat.com> References: <1364209249-30630-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] rbd: fix compile error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Anthony Liguori , Liu Yuan , Stefan Hajnoczi From: Liu Yuan Commit 787e4a85 [block: Add options QDict to bdrv_file_open() prototypes] didn't update rbd.c accordingly. Cc: Kevin Wolf Cc: Stefan Hajnoczi Signed-off-by: Liu Yuan Reviewed-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- block/rbd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/block/rbd.c b/block/rbd.c index 8cd10a7..1a8ea6d 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]; -- 1.8.1.4