[Pvfs2-cvs] commit by aching in pvfs2-1/src/client/sysint: sys-lock.sm

CVS commit program cvs at parl.clemson.edu
Wed Jan 31 00:10:47 EST 2007


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

Modified Files:
      Tag: version-lock-actual-branch
	sys-lock.sm 
Log Message:

Correct arguments for filling the request.


Index: sys-lock.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/client/sysint/Attic/sys-lock.sm,v
diff -p -u -r1.1.2.3 -r1.1.2.4
--- sys-lock.sm	28 Sep 2006 18:49:46 -0000	1.1.2.3
+++ sys-lock.sm	31 Jan 2007 05:10:47 -0000	1.1.2.4
@@ -497,7 +497,10 @@ static int lock_setup_msgpairs(PINT_clie
 		attr->u.meta.dist,
 		sm_p->u.lock.file_req,
 		sm_p->u.lock.file_req_offset,
-		PINT_REQUEST_TOTAL_BYTES(sm_p->u.lock.mem_req));
+		PINT_REQUEST_TOTAL_BYTES(sm_p->u.lock.mem_req),
+		0,
+		PINT_REQUEST_TOTAL_BYTES(sm_p->u.lock.mem_req),
+		-1);
 	else
 	    PINT_SERVREQ_LOCK_FILL(
 		sm_p->u.lock.contexts[i].msg.req,
@@ -510,8 +513,11 @@ static int lock_setup_msgpairs(PINT_clie
 		attr->u.meta.dfile_count,
 		attr->u.meta.dist,
 		PVFS_BYTE,
-		(*(sm_p->u.lock.lock_id_arr_p))[i],
-		-1);
+		0,
+		-1,
+		-1,
+		-1,
+		(*(sm_p->u.lock.lock_id_arr_p))[i]);
     }
     
     js_p->error_code = 0;



More information about the Pvfs2-cvs mailing list