Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/devfs/devfs.c

    r3c11713 rffa2c8ef  
    4040
    4141#include <stdio.h>
    42 #include <ipc/ipc.h>
    4342#include <ipc/services.h>
     43#include <ipc/ns.h>
    4444#include <async.h>
    4545#include <errno.h>
     
    5353static vfs_info_t devfs_vfs_info = {
    5454        .name = NAME,
     55        .concurrent_read_write = false,
     56        .write_retains_size = false,
    5557};
    5658
     
    6062{
    6163        if (iid)
    62                 ipc_answer_0(iid, EOK);
     64                async_answer_0(iid, EOK);
    6365       
    6466        while (true) {
     
    6668                ipc_callid_t callid = async_get_call(&call);
    6769               
    68                 switch  (IPC_GET_METHOD(call)) {
     70                switch  (IPC_GET_IMETHOD(call)) {
    6971                case IPC_M_PHONE_HUNGUP:
    7072                        return;
     
    109111                        break;
    110112                default:
    111                         ipc_answer_0(callid, ENOTSUP);
     113                        async_answer_0(callid, ENOTSUP);
    112114                        break;
    113115                }
     
    124126        }
    125127       
    126         int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
     128        int vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0);
    127129        if (vfs_phone < EOK) {
    128130                printf(NAME ": Unable to connect to VFS\n");
Note: See TracChangeset for help on using the changeset viewer.