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

CVS commit program cvs at parl.clemson.edu
Wed Jun 8 14:33:00 EDT 2011


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

Modified Files:
      Tag: Orange-Branch
	sys-readdirplus.sm sys-small-io.sm 
Log Message:
compiler warning cleanup


Index: sys-readdirplus.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-readdirplus.sm,v
diff -p -u -r1.12.10.1 -r1.12.10.2
--- sys-readdirplus.sm	3 Sep 2009 21:24:46 -0000	1.12.10.1
+++ sys-readdirplus.sm	8 Jun 2011 18:32:59 -0000	1.12.10.2
@@ -361,6 +361,14 @@ static int create_partition_handles(PVFS
             int ret;
             ret = PINT_cached_config_map_to_server(&tmp_svr_addr,
                 input_handle_array[i].handle, fsid);
+
+            if( ret != 0 )
+            {
+                gossip_debug(GOSSIP_CLIENT_DEBUG, "%s: failure mapping "
+                             "handle to server\n", __func__);
+                return ret;
+            }
+
             /* unique server address to find index */
             is_unique_server(tmp_svr_addr, *svr_count,
                 *svr_addr_array, &svr_index); 

Index: sys-small-io.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-small-io.sm,v
diff -p -u -r1.17.10.3 -r1.17.10.4
--- sys-small-io.sm	8 Jun 2011 13:10:42 -0000	1.17.10.3
+++ sys-small-io.sm	8 Jun 2011 18:33:00 -0000	1.17.10.4
@@ -380,7 +380,7 @@ static int small_io_completion_fn(void *
                              "\taggregate_size=%ld\n",
                             llu(msg_p->req.u.small_io.handle),
                             msg_p->req.u.small_io.io_type,
-                            msg_p->req.u.small_io.file_req_offset,
+                            ((long int)msg_p->req.u.small_io.file_req_offset),
                             ((long int)msg_p->req.u.small_io.aggregate_size));
 
 /*



More information about the Pvfs2-cvs mailing list