qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH buildfix] block/gluster: Add missing argument to qemu_gluster_init() call
@ 2014-03-04 20:00 Andreas Färber
  2014-03-04 20:12 ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Färber @ 2014-03-04 20:00 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, peter.maydell, Andreas Färber, Stefan Hajnoczi

Supply a required Error ** argument to qemu_gluster_init() in
qemu_gluster_reopen_prepare(), as done in qemu_gluster_open().

Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 block/gluster.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
1.8.4.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-04 20:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-04 20:00 [Qemu-devel] [PATCH buildfix] block/gluster: Add missing argument to qemu_gluster_init() call Andreas Färber
2014-03-04 20:12 ` Stefan Hajnoczi
2014-03-04 20:18   ` Andreas Färber
2014-03-04 20:37   ` Jeff Cody

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).