4
0
Эх сурвалжийг харах

totempg: Make iov_delv local variable

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Jan Friesse 13 жил өмнө
parent
commit
0e3d1a9c51
1 өөрчлөгдсөн 1 нэмэгдсэн , 2 устгасан
  1. 1 2
      exec/totempg.c

+ 1 - 2
exec/totempg.c

@@ -236,8 +236,6 @@ static int fragment_size = 0;
 
 static int fragment_continuation = 0;
 
-static struct iovec iov_delv;
-
 static int totempg_waiting_transack = 0;
 
 struct totempg_group_instance {
@@ -630,6 +628,7 @@ static void totempg_deliver_fn (
 	int start;
 	const char *data;
 	int datasize;
+	struct iovec iov_delv;
 
 	assembly = assembly_ref (nodeid);
 	assert (assembly);