[Pvfs2-cvs] commit by nlmills in pvfs2/src/client/sysint: sys-readdirplus.sm sys-symlink.sm

CVS commit program cvs at parl.clemson.edu
Tue Jul 29 15:25:00 EDT 2008


Update of /anoncvs/pvfs2/src/client/sysint
In directory parlweb1:/tmp/cvs-serv18884

Modified Files:
      Tag: cu-security-branch
	sys-readdirplus.sm sys-symlink.sm 
Log Message:
reverted changes to sys-readdirplus and sys-symlink


Index: sys-readdirplus.sm
===================================================================
RCS file: /anoncvs/pvfs2/src/client/sysint/sys-readdirplus.sm,v
diff -p -u -r1.9.2.3 -r1.9.2.4
--- sys-readdirplus.sm	29 Jul 2008 15:19:30 -0000	1.9.2.3
+++ sys-readdirplus.sm	29 Jul 2008 19:24:59 -0000	1.9.2.4
@@ -468,6 +468,9 @@ static PINT_sm_action readdirplus_fetch_
     int i, ret;
     struct PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
     PINT_sm_msgpair_state *msg_p = NULL;
+    PVFS_capability xxremovemexx;
+
+    memset(&xxremovemexx, 0, sizeof(PVFS_capability));
 
     gossip_debug(GOSSIP_CLIENT_DEBUG, "readdirplus state: fetch_attrs_setup\n");
     /* if there are no dirents then return NO_WORK */
@@ -507,7 +510,7 @@ static PINT_sm_action readdirplus_fetch_
      {
         PINT_SERVREQ_LISTATTR_FILL(
             msg_p->req,
-            sm_p->getattr.attr.capability,
+            xxremovemexx,
             sm_p->object_ref.fs_id,
             sm_p->u.readdirplus.attrmask,
             sm_p->u.readdirplus.handle_count[i],

Index: sys-symlink.sm
===================================================================
RCS file: /anoncvs/pvfs2/src/client/sysint/sys-symlink.sm,v
diff -p -u -r1.71.2.4 -r1.71.2.5
--- sys-symlink.sm	29 Jul 2008 15:19:30 -0000	1.71.2.4
+++ sys-symlink.sm	29 Jul 2008 19:24:59 -0000	1.71.2.5
@@ -271,7 +271,7 @@ static PINT_sm_action symlink_init(
     PINT_SM_GETATTR_STATE_FILL(
         sm_p->getattr,
         sm_p->object_ref,
-        PVFS_ATTR_COMMON_ALL|PVFS_ATTR_CAPABILITY,
+        PVFS_ATTR_COMMON_ALL,
         PVFS_TYPE_DIRECTORY,
         0);
         
@@ -353,6 +353,9 @@ static PINT_sm_action symlink_dspace_cre
     int ret = -PVFS_EINVAL;
     PVFS_handle_extent_array meta_handle_extent_array;
     PINT_sm_msgpair_state *msg_p = NULL;
+    PVFS_capability xxremovemexx;
+
+    memset(&xxremovemexx, 0, sizeof(PVFS_capability));
 
     js_p->error_code = 0;
 
@@ -374,7 +377,7 @@ static PINT_sm_action symlink_dspace_cre
 
     PINT_SERVREQ_CREATE_FILL(
         msg_p->req,
-        sm_p->getattr.attr.capability,
+        xxremovemexx,
         *sm_p->newcred_p,
         sm_p->object_ref.fs_id,
         PVFS_TYPE_SYMLINK,



More information about the Pvfs2-cvs mailing list