[Pvfs2-cvs] commit by walt in pvfs2-1/src/server: lookup.sm

CVS commit program cvs at parl.clemson.edu
Mon Jan 8 11:47:32 EST 2007


Update of /projects/cvsroot/pvfs2-1/src/server
In directory parlweb1:/tmp/cvs-serv22391/src/server

Modified Files:
      Tag: WALT3
	lookup.sm 
Log Message:
fixed an error where a SM frame is incorrectly freed


Index: lookup.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/server/lookup.sm,v
diff -p -u -r1.45.4.7 -r1.45.4.8
--- lookup.sm	19 Oct 2006 22:17:16 -0000	1.45.4.7
+++ lookup.sm	8 Jan 2007 16:47:32 -0000	1.45.4.8
@@ -161,6 +161,13 @@ static PINT_sm_action lookup_init(
     struct PINT_server_op *s_op = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
     char *ptr = NULL;
 
+    gossip_debug(GOSSIP_SERVER_DEBUG, " STARTING LOOKUP REQUEST "
+                     "(path:%s)(fs_id:%d)(handle:%lld)(attrmask:%u)\n",
+                     s_op->req->u.lookup_path.path,
+                     s_op->req->u.lookup_path.fs_id,
+                     s_op->req->u.lookup_path.starting_handle,
+                     s_op->req->u.lookup_path.attrmask);
+
     /* fill in the lookup portion of the PINT_server_op */
     s_op->u.lookup.segp = NULL;
     s_op->u.lookup.seg_nr = 0;
@@ -602,6 +609,7 @@ static PINT_sm_action lookup_setup_resp(
     else if(js_p->error_code < 0)
     {
         /* preserve error code in this case and fall through */
+        gossip_debug(GOSSIP_SERVER_DEBUG, "  lookup error in previous step\n");
     }
     else
     {



More information about the Pvfs2-cvs mailing list