[PVFS2-CVS]
commit by neill in pvfs2/src/server: crdirent.sm prelude.sm
CVS commit program
cvs at parl.clemson.edu
Thu May 20 14:27:51 EDT 2004
Update of /projects/cvsroot/pvfs2/src/server
In directory parlweb:/tmp/cvs-serv11755/src/server
Modified Files:
crdirent.sm prelude.sm
Log Message:
- implement non-blocking operations for all sysint and mgmt operations
- refactor blocking operations in terms of non-blocking operations
- change all sysint credential arguments to credential references
- memory leaks, bug fixes, cleanups
NOTE: this is a non-blocking first draft, updates are sure to come
Index: crdirent.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/crdirent.sm,v
diff -p -u -r1.34 -r1.35
--- crdirent.sm 3 May 2004 17:32:20 -0000 1.34
+++ crdirent.sm 20 May 2004 17:27:51 -0000 1.35
@@ -141,7 +141,7 @@ static int crdirent_validate(PINT_server
assert(s_op->req->u.crdirent.parent_handle != 0);
gossip_debug(GOSSIP_SERVER_DEBUG,
- " got crdirent for %s (with handle 0x%08Lx) in 0x%08Lx\n",
+ " got crdirent for %s (with handle %Lu) in %Lu\n",
s_op->req->u.crdirent.name,
Lu(s_op->req->u.crdirent.new_handle),
Lu(s_op->req->u.crdirent.parent_handle));
Index: prelude.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/prelude.sm,v
diff -p -u -r1.37 -r1.38
--- prelude.sm 17 May 2004 19:27:58 -0000 1.37
+++ prelude.sm 20 May 2004 17:27:51 -0000 1.38
@@ -230,10 +230,9 @@ static int prelude_perm_check(PINT_serve
* PVFS_U_WRITE here to indicate we need write access; its
* misleading
*/
- js_p->error_code = check_mode(&(s_op->attr),
- s_op->req->credentials.uid,
- s_op->req->credentials.gid,
- PVFS_U_WRITE);
+ js_p->error_code = check_mode(
+ &(s_op->attr), s_op->req->credentials.uid,
+ s_op->req->credentials.gid, PVFS_U_WRITE);
break;
/* special case: we only check permissions on setattr if it
* already has attributes
More information about the PVFS2-CVS
mailing list