[PVFS2-CVS] commit by robl in pvfs2-1/src/client/sysint: sys-io.sm

CVS commit program cvs at parl.clemson.edu
Mon Jan 16 18:41:38 EST 2006


Update of /projects/cvsroot/pvfs2-1/src/client/sysint
In directory parlweb:/tmp/cvs-serv16066/src/client/sysint

Modified Files:
	sys-io.sm 
Log Message:
[pcarns]: when dealing with file sizes larger than 32 bits,
PINT_Process_request would return a negative number (> 32 bits, overflowed).
change PINT_process_requst to return 0 or -PVFS_error, and return the file size through results->bytes (which all callers use already anyway).


Index: sys-io.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/client/sysint/sys-io.sm,v
diff -u -w -p -u -r1.137 -r1.138
--- sys-io.sm	10 Jan 2006 18:41:37 -0000	1.137
+++ sys-io.sm	16 Jan 2006 23:41:38 -0000	1.138
@@ -2364,7 +2364,7 @@ exit:
 
     PINT_free_request_state(filereq_state);
     PINT_free_request_state(memreq_state);
-    return res;
+    return 0;
 }
 
 /* computes the logical offset in the file request from the size



More information about the PVFS2-CVS mailing list