Changeset f2ec8c8 in mainline for uspace/srv/vfs/vfs_lookup.c


Ignore:
Timestamp:
2008-03-11T20:33:53Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
923c39e
Parents:
8ad8e49
Message:

Introduce fs_handle_t, dev_handle_t and fs_index_t.

File:
1 edited

Legend:

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

    r8ad8e49 rf2ec8c8  
    8383                return EINVAL;
    8484       
    85         uint64_t index = 0;
     85        fs_index_t index = 0;
    8686        if (lflag & L_LINK) {
    8787                va_list ap;
    8888
    8989                va_start(ap, altroot);
    90                 index = va_arg(ap, uint64_t);
     90                index = va_arg(ap, fs_index_t);
    9191                va_end(ap);
    9292        }
     
    178178
    179179        if ((rc == EOK) && result) {
    180                 result->triplet.fs_handle = (int) IPC_GET_ARG1(answer);
    181                 result->triplet.dev_handle = (int) IPC_GET_ARG2(answer);
    182                 result->triplet.index = (uint64_t) IPC_GET_ARG3(answer);
     180                result->triplet.fs_handle = (fs_handle_t) IPC_GET_ARG1(answer);
     181                result->triplet.dev_handle = (dev_handle_t) IPC_GET_ARG2(answer);
     182                result->triplet.index = (fs_index_t) IPC_GET_ARG3(answer);
    183183                result->size = (size_t) IPC_GET_ARG4(answer);
    184184                result->lnkcnt = (unsigned) IPC_GET_ARG5(answer);
Note: See TracChangeset for help on using the changeset viewer.