Changeset a46e56b in mainline for uspace/srv/vfs/vfs.c


Ignore:
Timestamp:
2018-03-22T06:49:35Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77f0a1d
Parents:
3e242d2
git-author:
Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
git-committer:
Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
Message:

Prefer handle over ID in naming handle variables

File:
1 edited

Legend:

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

    r3e242d2 ra46e56b  
    5555#define NAME  "vfs"
    5656
    57 static void vfs_pager(cap_call_handle_t iid, ipc_call_t *icall, void *arg)
     57static void vfs_pager(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg)
    5858{
    59         async_answer_0(iid, EOK);
     59        async_answer_0(icall_handle, EOK);
    6060
    6161        while (true) {
    6262                ipc_call_t call;
    63                 cap_call_handle_t callid = async_get_call(&call);
     63                cap_call_handle_t chandle = async_get_call(&call);
    6464
    6565                if (!IPC_GET_IMETHOD(call))
     
    6868                switch (IPC_GET_IMETHOD(call)) {
    6969                case IPC_M_PAGE_IN:
    70                         vfs_page_in(callid, &call);
     70                        vfs_page_in(chandle, &call);
    7171                        break;
    7272                default:
    73                         async_answer_0(callid, ENOTSUP);
     73                        async_answer_0(chandle, ENOTSUP);
    7474                        break;
    7575                }
Note: See TracChangeset for help on using the changeset viewer.