Subversion Repositories HelenOS

Rev

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

Rev 4444 Rev 4445
Line 161... Line 161...
161
    aid_t req = async_send_5(phone, VFS_LOOKUP, (ipcarg_t) first,
161
    aid_t req = async_send_5(phone, VFS_LOOKUP, (ipcarg_t) first,
162
        (ipcarg_t) (first + len - 1) % PLB_SIZE,
162
        (ipcarg_t) (first + len - 1) % PLB_SIZE,
163
        (ipcarg_t) root->dev_handle, (ipcarg_t) lflag, (ipcarg_t) index,
163
        (ipcarg_t) root->dev_handle, (ipcarg_t) lflag, (ipcarg_t) index,
164
        &answer);
164
        &answer);
165
    vfs_release_phone(phone);
165
    vfs_release_phone(phone);
166
 
166
   
-
 
167
    async_serialize_start();
167
    ipcarg_t rc;
168
    ipcarg_t rc;
168
    /* XXX shouldn't we disable fibril preemption here? */
-
 
169
    async_wait_for(req, &rc);
169
    async_wait_for(req, &rc);
-
 
170
    async_serialize_end();
170
 
171
   
171
    futex_down(&plb_futex);
172
    futex_down(&plb_futex);
172
    list_remove(&entry.plb_link);
173
    list_remove(&entry.plb_link);
173
    /*
174
    /*
174
     * Erasing the path from PLB will come handy for debugging purposes.
175
     * Erasing the path from PLB will come handy for debugging purposes.
175
     */
176
     */