[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/common/misc: state-machine-fns.c

CVS commit program cvs at parl.clemson.edu
Fri Feb 29 15:00:09 EST 2008


Update of /projects/cvsroot/pvfs2-1/src/common/misc
In directory parlweb1:/tmp/cvs-serv5578

Modified Files:
      Tag: small-file-branch
	state-machine-fns.c 
Log Message:
fixed bug in state machine pop function; it was using the wrong pointer to
retrieve frames after popping


Index: state-machine-fns.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/common/misc/state-machine-fns.c,v
diff -p -u -r1.6 -r1.6.2.1
--- state-machine-fns.c	29 Nov 2007 06:18:10 -0000	1.6
+++ state-machine-fns.c	29 Feb 2008 20:00:09 -0000	1.6.2.1
@@ -656,7 +656,7 @@ void *PINT_sm_pop_frame(struct PINT_smcb
         return NULL;
     }
 
-    frame_entry = qlist_entry(&smcb->frames.next, struct PINT_frame_s, link);
+    frame_entry = qlist_entry(smcb->frames.next, struct PINT_frame_s, link);
     qlist_del(smcb->frames.next);
 
     frame = frame_entry->frame;



More information about the Pvfs2-cvs mailing list