Skip to contentSkip to conversation

block/gluster: Add missing argument to qemu_gluster_init() call

PATCH Superseded Andreas Färber 3 participants 4 messages Mar 4, 2014 Block layer

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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
index 54ee9b7..fe7a10c 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Andreas Färber

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(-)

Fixed my Gluster build environment, this shouldn't happen again in the future.

#2 lore raw

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() in qemu_gluster_reopen_prepare(), as done in qemu_gluster_open().

---
 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.

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
#3 lore raw
In reply to Stefan Hajnoczi
Quoted 10 lines · Stefan Hajnoczi
Quoted 8 lines · Andreas Färber

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(-)
Quoted 4 lines

Fixed my Gluster build environment, this shouldn't happen again in the future.

Sorry Stefan, I should have rebased my _reopen patches on Paolo's error message improvement series.