[Pvfs2-cvs] commit by slang in pvfs2/src/client/sysint: sys-small-io.sm

CVS commit program cvs at parl.clemson.edu
Tue Mar 13 14:25:43 EST 2007


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb1:/tmp/cvs-serv27345/src/client/sysint

Modified Files:
      Tag: pvfs-2-6-branch
	sys-small-io.sm 
Log Message:
merge to 2.6: uninitialized fdata struct in small io path


Index: sys-small-io.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-small-io.sm,v
diff -p -u -r1.11 -r1.11.20.1
--- sys-small-io.sm	18 Aug 2006 15:25:11 -0000	1.11
+++ sys-small-io.sm	13 Mar 2007 19:25:43 -0000	1.11.20.1
@@ -231,6 +231,8 @@ static int small_io_completion_fn(void *
         int done = 0;
         PVFS_size bytes_processed = 0;
 
+        memset(&fdata, 0, sizeof(fdata));
+
         if(resp_p->u.small_io.result_size != 0)
         {
             fdata.server_ct = attr->u.meta.dfile_count;



More information about the Pvfs2-cvs mailing list