Changes in uspace/srv/vfs/vfs_lookup.c [ffa2c8ef:cead2aa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_lookup.c
rffa2c8ef rcead2aa 37 37 38 38 #include "vfs.h" 39 #include <ipc/ipc.h> 39 40 #include <macros.h> 40 41 #include <async.h> … … 160 161 ipc_call_t answer; 161 162 int phone = vfs_grab_phone(root->fs_handle); 162 aid_t req = async_send_5(phone, VFS_OUT_LOOKUP, ( sysarg_t) first,163 ( sysarg_t) (first + len - 1) % PLB_SIZE,164 ( sysarg_t) root->devmap_handle, (sysarg_t) lflag, (sysarg_t) index,163 aid_t req = async_send_5(phone, VFS_OUT_LOOKUP, (ipcarg_t) first, 164 (ipcarg_t) (first + len - 1) % PLB_SIZE, 165 (ipcarg_t) root->devmap_handle, (ipcarg_t) lflag, (ipcarg_t) index, 165 166 &answer); 166 167 167 sysarg_t rc;168 ipcarg_t rc; 168 169 async_wait_for(req, &rc); 169 170 vfs_release_phone(root->fs_handle, phone); … … 212 213 ipc_call_t answer; 213 214 aid_t req = async_send_2(phone, VFS_OUT_OPEN_NODE, 214 ( sysarg_t) result->triplet.devmap_handle,215 ( sysarg_t) result->triplet.index, &answer);216 217 sysarg_t rc;215 (ipcarg_t) result->triplet.devmap_handle, 216 (ipcarg_t) result->triplet.index, &answer); 217 218 ipcarg_t rc; 218 219 async_wait_for(req, &rc); 219 220 vfs_release_phone(result->triplet.fs_handle, phone);
Note:
See TracChangeset
for help on using the changeset viewer.