[PVFS2-CVS] commit by pcarns in pvfs2/src/io/bmi: bmi.c
CVS commit program
cvs at parl.clemson.edu
Thu Feb 12 17:30:38 EST 2004
Update of /projects/cvsroot/pvfs2/src/io/bmi
In directory parlweb:/tmp/cvs-serv10987
Modified Files:
bmi.c
Log Message:
tightening the bmi_tcp error handling a bit, still needs work
Index: bmi.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/bmi.c,v
diff -p -u -r1.35 -r1.36
--- bmi.c 30 Jan 2004 20:12:11 -0000 1.35
+++ bmi.c 12 Feb 2004 22:30:38 -0000 1.36
@@ -6,7 +6,7 @@
#include <errno.h>
#include <string.h>
-#include <dlfcn.h>
+#include <assert.h>
#include "bmi.h"
#include "bmi-method-support.h"
@@ -1529,10 +1529,10 @@ int BMI_cancel(bmi_op_id_t id,
int ret = -1;
target_op = id_gen_fast_lookup(id);
- if (target_op->op_id != id)
- {
- return (-EINVAL);
- }
+ /* TODO: figure out how we are hitting this, probably flow protocol
+ * error?
+ */
+ assert(target_op->op_id == id);
if(active_method_table[target_op->addr->method_type]->BMI_meth_cancel)
{
More information about the PVFS2-CVS
mailing list