Ignore:
File:
1 edited

Legend:

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

    r6fb8b2c r51774cd  
    222222        vfs_exchange_release(exch);
    223223       
    224         if (rc != EOK)
    225                 return rc;
     224        if ((int) rc < 0)
     225                return (int) rc;
    226226       
    227227        unsigned last = *pfirst + *plen;
     
    229229        *plen = last - *pfirst;
    230230       
    231         result->triplet.fs_handle = (fs_handle_t) IPC_GET_ARG1(answer);
    232         result->triplet.service_id = base->service_id;
     231        result->triplet.fs_handle = (fs_handle_t) rc;
     232        result->triplet.service_id = (service_id_t) IPC_GET_ARG1(answer);
    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.