Ignore:
File:
1 edited

Legend:

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

    rffa2c8ef r3c11713  
    4040
    4141#include <stdio.h>
     42#include <ipc/ipc.h>
    4243#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,
    5755};
    5856
     
    6260{
    6361        if (iid)
    64                 async_answer_0(iid, EOK);
     62                ipc_answer_0(iid, EOK);
    6563       
    6664        while (true) {
     
    6866                ipc_callid_t callid = async_get_call(&call);
    6967               
    70                 switch  (IPC_GET_IMETHOD(call)) {
     68                switch  (IPC_GET_METHOD(call)) {
    7169                case IPC_M_PHONE_HUNGUP:
    7270                        return;
     
    111109                        break;
    112110                default:
    113                         async_answer_0(callid, ENOTSUP);
     111                        ipc_answer_0(callid, ENOTSUP);
    114112                        break;
    115113                }
     
    126124        }
    127125       
    128         int vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0);
     126        int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
    129127        if (vfs_phone < EOK) {
    130128                printf(NAME ": Unable to connect to VFS\n");
Note: See TracChangeset for help on using the changeset viewer.