Ignore:
File:
1 edited

Legend:

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

    r51774cd r6fb8b2c  
    222222        vfs_exchange_release(exch);
    223223       
    224         if ((int) rc < 0)
    225                 return (int) rc;
     224        if (rc != EOK)
     225                return rc;
    226226       
    227227        unsigned last = *pfirst + *plen;
     
    229229        *plen = last - *pfirst;
    230230       
    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;
    233233        result->triplet.index = (fs_index_t) IPC_GET_ARG2(answer);
    234234        result->size = MERGE_LOUP32(IPC_GET_ARG4(answer), IPC_GET_ARG5(answer));
Note: See TracChangeset for help on using the changeset viewer.