Ignore:
File:
1 edited

Legend:

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

    rffa2c8ef r3c11713  
    4242
    4343#include "tmpfs.h"
     44#include <ipc/ipc.h>
    4445#include <ipc/services.h>
    45 #include <ipc/ns.h>
    4646#include <async.h>
    4747#include <errno.h>
     
    5757vfs_info_t tmpfs_vfs_info = {
    5858        .name = NAME,
    59         .concurrent_read_write = false,
    60         .write_retains_size = false,
    6159};
    6260
     
    9088                 * created by IPC_M_CONNECT_TO_ME.
    9189                 */
    92                 async_answer_0(iid, EOK);
     90                ipc_answer_0(iid, EOK);
    9391        }
    9492       
     
    9997       
    10098                callid = async_get_call(&call);
    101                 switch  (IPC_GET_IMETHOD(call)) {
     99                switch  (IPC_GET_METHOD(call)) {
    102100                case IPC_M_PHONE_HUNGUP:
    103101                        return;
     
    142140                        break;
    143141                default:
    144                         async_answer_0(callid, ENOTSUP);
     142                        ipc_answer_0(callid, ENOTSUP);
    145143                        break;
    146144                }
     
    157155        }
    158156
    159         int vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0);
     157        int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
    160158        if (vfs_phone < EOK) {
    161159                printf(NAME ": Unable to connect to VFS\n");
Note: See TracChangeset for help on using the changeset viewer.