Changes in uspace/srv/vfs/vfs_lookup.c [51774cd:25a179e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_lookup.c
r51774cd r25a179e 197 197 198 198 rc = async_data_write_start(exch, component, str_size(component) + 1); 199 sysarg_t orig_rc;199 int orig_rc; 200 200 async_wait_for(req, &orig_rc); 201 201 vfs_exchange_release(exch); … … 213 213 assert(result); 214 214 215 sysarg_t rc;215 int rc; 216 216 ipc_call_t answer; 217 217 async_exch_t *exch = vfs_exchange_grab(base->fs_handle); … … 222 222 vfs_exchange_release(exch); 223 223 224 if ( (int) rc < 0)225 return (int)rc;224 if (rc != EOK) 225 return rc; 226 226 227 227 unsigned last = *pfirst + *plen; … … 229 229 *plen = last - *pfirst; 230 230 231 result->triplet.fs_handle = (fs_handle_t) rc;232 result->triplet.service_id = (service_id_t) IPC_GET_ARG1(answer);231 result->triplet.fs_handle = (fs_handle_t) IPC_GET_ARG1(answer); 232 result->triplet.service_id = base->service_id; 233 233 result->triplet.index = (fs_index_t) IPC_GET_ARG2(answer); 234 234 result->size = MERGE_LOUP32(IPC_GET_ARG4(answer), IPC_GET_ARG5(answer));
Note:
See TracChangeset
for help on using the changeset viewer.