Changeset 8489
- Timestamp:
- 09/02/10 11:54:33 (3 years ago)
- Files:
-
- 1 modified
-
branches/Orange-Branch/src/server/list-attr.sm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/Orange-Branch/src/server/list-attr.sm
r8486 r8489 25 25 #include "pvfs2-internal.h" 26 26 27 #define GETATTR 100 28 29 27 30 %% 28 31 … … 48 51 pjmp listattr_setup_getattr 49 52 { 50 success=> pvfs2_pjmp_get_attr_work_sm;53 GETATTR => pvfs2_pjmp_get_attr_work_sm; 51 54 } 52 55 success => interpret_getattrs; … … 172 175 getattr_op->u.getattr.attrmask = s_op->req->u.listattr.attrmask; 173 176 174 ret = PINT_sm_push_frame(smcb, 0, getattr_op);177 ret = PINT_sm_push_frame(smcb, GETATTR, getattr_op); 175 178 if(ret < 0) 176 179 { … … 207 210 job_status_s *js_p) 208 211 { 209 struct PINT_server_op *getattr_op ;212 struct PINT_server_op *getattr_op = NULL; 210 213 /* note: this gives us a pointer to the base frame (list_attr), 211 214 * _not_ the getattr frames that were previously pushed. … … 229 232 getattr_op = PINT_sm_pop_frame(smcb, &task_id, &tmp_err, 230 233 &remaining); 234 gossip_debug(GOSSIP_SERVER_DEBUG, "getattr_op is %s.\n",(getattr_op ? "okay" : "NULL")); 231 235 gossip_debug(GOSSIP_SERVER_DEBUG, "listattr: nested sm returned error code: %d\n", tmp_err); 236 gossip_debug(GOSSIP_SERVER_DEBUG, "s_op is %p \t getattr_op is %p",s_op,getattr_op ); 232 237 /* match it up with the correct array entry */ 233 238 for(j=0; j<s_op->req->u.listattr.nhandles; j++)
