block/gluster: Add missing argument to qemu_gluster_init() call
PATCH 1/1 block/gluster: Add missing argument to qemu_gluster_init() call
Supply a required Error ** argument to qemu_gluster_init() in qemu_gluster_reopen_prepare(), as done in qemu_gluster_open().
--- block/gluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/gluster.c +1 -1
@@ -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;
Signature · 1 line
1.8.4.5
Quoted 8 lines · Andreas Färber
Supply a required Error ** argument to
qemu_gluster_init()inqemu_gluster_reopen_prepare(), as done inqemu_gluster_open().Cc Stefan Hajnoczi <[email protected]>Signed-off-by Andreas Färber <[email protected]>--- block/gluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fixed my Gluster build environment, this shouldn't happen again in the future.
Am 04.03.2014 21:12, schrieb Stefan Hajnoczi:
Quoted 10 lines · Andreas Färber
Quoted 8 lines
Supply a required Error ** argument to
qemu_gluster_init()inqemu_gluster_reopen_prepare(), as done inqemu_gluster_open().Cc Stefan Hajnoczi <[email protected]>Signed-off-by Andreas Färber <[email protected]>--- block/gluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 3 lines
Fixed my Gluster build environment, this shouldn't happen again in the future.
Reviewed-by Stefan Hajnoczi <[email protected]>
Thanks, v2 sent with improved commit message.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 10 lines · Stefan Hajnoczi
Quoted 8 lines · Andreas Färber
Supply a required Error ** argument to
qemu_gluster_init()inqemu_gluster_reopen_prepare(), as done inqemu_gluster_open().Cc Stefan Hajnoczi <[email protected]>Signed-off-by Andreas Färber <[email protected]>--- block/gluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 4 lines
Fixed my Gluster build environment, this shouldn't happen again in the future.
Reviewed-by Stefan Hajnoczi <[email protected]>
Sorry Stefan, I should have rebased my _reopen patches on Paolo's error message improvement series.