[Pvfs2-cvs] commit by pw in pvfs2/src/client/sysint: server-get-config.sm

CVS commit program cvs at parl.clemson.edu
Fri Dec 14 11:57:48 EST 2007


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb1:/tmp/cvs-serv11684/src/client/sysint

Modified Files:
	server-get-config.sm 
Log Message:
Fix a minor return code bug and complete the conversion to
symbolic SM_ACTION codes


Index: server-get-config.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/server-get-config.sm,v
diff -u -p -p -u -r1.29 -r1.30
--- server-get-config.sm	30 Aug 2007 00:13:41 -0000	1.29
+++ server-get-config.sm	14 Dec 2007 16:57:47 -0000	1.30
@@ -267,7 +267,8 @@ static PINT_sm_action server_get_config_
     {
         gossip_lerr("Failed to resolve BMI address %s\n",
                     sm_p->u.get_config.mntent->the_pvfs_config_server);
-        return ret;
+        js_p->error_code = ret;
+        return SM_ACTION_COMPLETE;
     }
 
     PINT_SERVREQ_GETCONFIG_FILL(msg_p->req, *sm_p->cred_p);
@@ -314,7 +315,7 @@ static PINT_sm_action server_get_config_
             gossip_err("Failed to get_config from host %s\n",
                        sm_p->u.get_config.mntent->the_pvfs_config_server); 
             js_p->error_code = ret;
-            return 1;
+            return SM_ACTION_COMPLETE;
         }
     }
 
@@ -340,7 +341,7 @@ static PINT_sm_action server_get_config_
                        "directory or in the /tmp directory\n\n");
 
             js_p->error_code = -PVFS_ENODEV;
-            return(1);
+            return SM_ACTION_COMPLETE;
         }
 
         sm_p->u.get_config.mntent->fs_id = cur_fs->coll_id;



More information about the Pvfs2-cvs mailing list