[PVFS2-CVS] commit by pcarns in pvfs2/src/io/flow: flow.c flow.h

CVS commit program cvs at parl.clemson.edu
Tue Feb 10 13:11:28 EST 2004


Update of /projects/cvsroot/pvfs2/src/io/flow
In directory parlweb:/tmp/cvs-serv308/src/io/flow

Modified Files:
	flow.c flow.h 
Log Message:
minor update, changed name of PINT_flow_unpost() -> PINT_flow_cancel(), 
still just a stub function


Index: flow.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/flow/flow.c,v
diff -p -u -r1.32 -r1.33
--- flow.c	3 Nov 2003 14:11:47 -0000	1.32
+++ flow.c	10 Feb 2004 18:11:28 -0000	1.33
@@ -369,17 +369,15 @@ int PINT_flow_post(flow_descriptor * flo
 }
 
 
-/* PINT_flow_unpost()
+/* PINT_flow_cancel()
  * 
- * Aborts a previously posted flow.  
+ * attempts to cancel a previously posted (but not yet completed) flow
  *
- * returns 0 on success, -errno on failure
+ * returns 0 on successful attempt, -errno on failure
  */
-int PINT_flow_unpost(flow_descriptor * flow_d)
+int PINT_flow_cancel(flow_descriptor * flow_d)
 {
-    gen_mutex_lock(&interface_mutex);
     gossip_lerr("function not implemented.\n");
-    gen_mutex_unlock(&interface_mutex);
     return (-ENOSYS);
 }
 

Index: flow.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/flow/flow.h,v
diff -p -u -r1.22 -r1.23
--- flow.h	21 Oct 2003 23:15:33 -0000	1.22
+++ flow.h	10 Feb 2004 18:11:28 -0000	1.23
@@ -159,7 +159,7 @@ void PINT_flow_free(flow_descriptor * fl
 
 int PINT_flow_post(flow_descriptor * flow_d);
 
-int PINT_flow_unpost(flow_descriptor * flow_d);
+int PINT_flow_cancel(flow_descriptor * flow_d);
 
 int PINT_flow_setinfo(flow_descriptor * flow_d,
 		      int option,



More information about the PVFS2-CVS mailing list