Show
Ignore:
Timestamp:
06/29/10 12:53:16 (3 years ago)
Author:
elaine
Message:

Pass multiple dirent handles between server and client.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/Orange-Elaine-Distr-Dir-Branch/src/client/sysint/mgmt-remove-dirent.sm

    r8386 r8418  
    1818 
    1919#include "client-state-machine.h" 
     20#include "pint-util.h" 
    2021#include "pvfs2-debug.h" 
    2122#include "job.h" 
     
    188189    msg_p = &sm_p->msgarray_op.msgpair; 
    189190 
    190     PINT_SERVREQ_MGMT_REMOVE_DIRENT_FILL( 
     191    /* TODO: Need to find the correct dirent_handle */ 
     192    /* TODO: Need to call PINT_free_object_attr? */ 
     193     PINT_SERVREQ_MGMT_REMOVE_DIRENT_FILL( 
    191194        msg_p->req, 
    192195        *sm_p->cred_p, 
    193196        sm_p->parent_ref.fs_id, 
    194197        sm_p->parent_ref.handle, 
    195         sm_p->getattr.attr.u.dir.dirent_handle, 
     198        sm_p->getattr.attr.u.dir.dirent_handle[0], 
    196199        sm_p->u.mgmt_remove_dirent.entry, 
    197200        sm_p->hints); 
     
    246249                 "mgmt_remove_dirent_cleanup called\n"); 
    247250 
     251    PINT_SM_GETATTR_STATE_CLEAR(sm_p->getattr); 
    248252    sm_p->error_code = js_p->error_code; 
    249253