Subversion Repositories HelenOS

Rev

Rev 2544 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2544 Rev 2546
Line 123... Line 123...
123
   
123
   
124
    memcpy(&plb[first], path, cnt1);
124
    memcpy(&plb[first], path, cnt1);
125
    memcpy(plb, &path[cnt1], cnt2);
125
    memcpy(plb, &path[cnt1], cnt2);
126
 
126
 
127
    ipc_call_t answer;
127
    ipc_call_t answer;
128
    int phone = 0;      /* TODO */
128
    int phone = vfs_grab_phone(rootfs->fs_handle);
129
    aid_t req = async_send_2(phone, VFS_LOOKUP, (ipcarg_t) first,
129
    aid_t req = async_send_3(phone, VFS_LOOKUP, (ipcarg_t) first,
130
        (ipcarg_t) last, &answer);
130
        (ipcarg_t) last, (ipcarg_t) rootfs->dev_handle, &answer);
-
 
131
    vfs_release_phone(phone);
131
 
132
 
132
    ipcarg_t rc;
133
    ipcarg_t rc;
133
    async_wait_for(req, &rc);
134
    async_wait_for(req, &rc);
134
 
135
 
135
    futex_down(&plb_futex);
136
    futex_down(&plb_futex);