Changeset 0b749a3 in mainline for uspace/srv/vfs/vfs_lookup.c


Ignore:
Timestamp:
2010-11-22T15:39:53Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0eddb76, aae339e9
Parents:
9a1d8ab (diff), 8cd1aa5e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge development/ changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_lookup.c

    r9a1d8ab r0b749a3  
    163163        aid_t req = async_send_5(phone, VFS_OUT_LOOKUP, (ipcarg_t) first,
    164164            (ipcarg_t) (first + len - 1) % PLB_SIZE,
    165             (ipcarg_t) root->dev_handle, (ipcarg_t) lflag, (ipcarg_t) index,
     165            (ipcarg_t) root->devmap_handle, (ipcarg_t) lflag, (ipcarg_t) index,
    166166            &answer);
    167167       
    168168        ipcarg_t rc;
    169169        async_wait_for(req, &rc);
    170         vfs_release_phone(phone);
     170        vfs_release_phone(root->fs_handle, phone);
    171171       
    172172        fibril_mutex_lock(&plb_mutex);
     
    183183       
    184184        result->triplet.fs_handle = (fs_handle_t) rc;
    185         result->triplet.dev_handle = (dev_handle_t) IPC_GET_ARG1(answer);
     185        result->triplet.devmap_handle = (devmap_handle_t) IPC_GET_ARG1(answer);
    186186        result->triplet.index = (fs_index_t) IPC_GET_ARG2(answer);
    187187        result->size =
     
    210210        ipc_call_t answer;
    211211        aid_t req = async_send_2(phone, VFS_OUT_OPEN_NODE,
    212             (ipcarg_t) result->triplet.dev_handle,
     212            (ipcarg_t) result->triplet.devmap_handle,
    213213            (ipcarg_t) result->triplet.index, &answer);
    214214       
    215215        ipcarg_t rc;
    216216        async_wait_for(req, &rc);
    217         vfs_release_phone(phone);
     217        vfs_release_phone(result->triplet.fs_handle, phone);
    218218       
    219219        if (rc == EOK) {
Note: See TracChangeset for help on using the changeset viewer.