[Pvfs2-cvs] commit by elaine in pvfs2/src/server: create-file.sm
CVS commit program
cvs at parl.clemson.edu
Tue Apr 22 10:35:54 EDT 2008
Update of /projects/cvsroot/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv16499/server
Modified Files:
Tag: cu-sandbox-branch
create-file.sm
Log Message:
Index: create-file.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/Attic/create-file.sm,v
diff -p -u -r1.1.2.6 -r1.1.2.7
--- create-file.sm 14 Apr 2008 18:14:48 -0000 1.1.2.6
+++ create-file.sm 22 Apr 2008 14:35:54 -0000 1.1.2.7
@@ -991,7 +991,7 @@ static PINT_sm_action create_getattr_loc
PINT_cached_config_get_server_name(server_name, 1024, sm_p->parent_ref.handle,
sm_p->parent_ref.fs_id);
- if (strcmp(config->host_id, server_name)) {
+ if (! strcmp(config->host_id, server_name)) {
/* Call the nested get_attr state machine? */
struct PINT_server_op *s_op = malloc(sizeof(struct PINT_server_op));
@@ -1024,6 +1024,7 @@ static PINT_sm_action create_getattr_loc
/* it's not on this server. Fall through to another */
/* state to do the lookup on the correct server. */
/* need to set up machine for remote lookup here */
+/* TODO: What should this return value really be? */
return(-PVFS_ENOENT);
}
}
More information about the Pvfs2-cvs
mailing list