Changes in uspace/srv/vfs/vfs_lookup.c [79ae36dd:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_lookup.c
r79ae36dd rffa2c8ef 159 159 160 160 ipc_call_t answer; 161 async_exch_t *exch = vfs_exchange_grab(root->fs_handle);162 aid_t req = async_send_5( exch, VFS_OUT_LOOKUP, (sysarg_t) first,161 int phone = vfs_grab_phone(root->fs_handle); 162 aid_t req = async_send_5(phone, VFS_OUT_LOOKUP, (sysarg_t) first, 163 163 (sysarg_t) (first + len - 1) % PLB_SIZE, 164 164 (sysarg_t) root->devmap_handle, (sysarg_t) lflag, (sysarg_t) index, … … 167 167 sysarg_t rc; 168 168 async_wait_for(req, &rc); 169 vfs_ exchange_release(exch);169 vfs_release_phone(root->fs_handle, phone); 170 170 171 171 fibril_mutex_lock(&plb_mutex); … … 208 208 int vfs_open_node_internal(vfs_lookup_res_t *result) 209 209 { 210 async_exch_t *exch = vfs_exchange_grab(result->triplet.fs_handle);210 int phone = vfs_grab_phone(result->triplet.fs_handle); 211 211 212 212 ipc_call_t answer; 213 aid_t req = async_send_2( exch, VFS_OUT_OPEN_NODE,213 aid_t req = async_send_2(phone, VFS_OUT_OPEN_NODE, 214 214 (sysarg_t) result->triplet.devmap_handle, 215 215 (sysarg_t) result->triplet.index, &answer); … … 217 217 sysarg_t rc; 218 218 async_wait_for(req, &rc); 219 vfs_ exchange_release(exch);219 vfs_release_phone(result->triplet.fs_handle, phone); 220 220 221 221 if (rc == EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.