[PVFS2-CVS] commit by neill in pvfs2/src/client/sysint: sys-remove.sm

CVS commit program cvs at parl.clemson.edu
Thu Sep 16 18:00:50 EDT 2004


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

Modified Files:
	sys-remove.sm 
Log Message:
- break out clientcore debugging into its own debugging mask
- fixed error code returned by trove on open-cache-get failures on bstream
  flushes


Index: sys-remove.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-remove.sm,v
diff -p -u -r1.79 -r1.80
--- sys-remove.sm	15 Sep 2004 18:46:21 -0000	1.79
+++ sys-remove.sm	16 Sep 2004 21:00:50 -0000	1.80
@@ -398,9 +398,11 @@ static int remove_crdirent_comp_fn(
 static int remove_check_error_code(
     PINT_client_sm *sm_p, job_status_s *js_p)
 {
-    gossip_debug(GOSSIP_REMOVE_DEBUG,
-                 "remove_check_error_code got %d\n", js_p->error_code);
+    char buf[64] = {0};
 
+    PVFS_strerror_r(js_p->error_code, buf, 64);
+    gossip_debug(GOSSIP_REMOVE_DEBUG, "remove_check_error_code got %s "
+                 "(%d)\n", buf, js_p->error_code);
     /*
       separate error codes which are ok to return to the caller at
       this point without trying to undo what we've done and retry the



More information about the PVFS2-CVS mailing list