From f55ea6297cc0224fe4934b90ff5343b620b14669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 4 Mar 2014 21:00:28 +0100 Subject: block/gluster: Add missing argument to qemu_gluster_init() call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit adccfbcd6020e928db93b2b4faf0dbd05ffbe016 (block: gluster - add reopen support.) did not supply the qemu_gluster_init() Error ** argument, needed since commit a7451cb850d115f257080aff3fbc54f255ebf8f7 (gluster: correctly propagate errors). Pass through qemu_gluster_reopen_prepare()'s errp, as done in qemu_gluster_open(). Cc: Stefan Hajnoczi Signed-off-by: Andreas Färber Reviewed-by: Stefan Hajnoczi Signed-off-by: Peter Maydell --- block/gluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block') diff --git a/block/gluster.c b/block/gluster.c index 54ee9b7..fe7a10c 100644 --- a/block/gluster.c +++ b/block/gluster.c @@ -364,7 +364,7 @@ static int qemu_gluster_reopen_prepare(BDRVReopenState *state, gconf = g_malloc0(sizeof(GlusterConf)); - reop_s->glfs = qemu_gluster_init(gconf, state->bs->filename); + reop_s->glfs = qemu_gluster_init(gconf, state->bs->filename, errp); if (reop_s->glfs == NULL) { ret = -errno; goto exit; -- cgit v1.1