Ignore:
File:
1 edited

Legend:

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

    rffa2c8ef r3c11713  
    3838
    3939#include "fat.h"
     40#include <ipc/ipc.h>
    4041#include <ipc/services.h>
    41 #include <ipc/ns.h>
    4242#include <async.h>
    4343#include <errno.h>
     
    5252vfs_info_t fat_vfs_info = {
    5353        .name = NAME,
    54         .concurrent_read_write = false,
    55         .write_retains_size = false,   
    5654};
    5755
     
    8482                 * created by IPC_M_CONNECT_TO_ME.
    8583                 */
    86                 async_answer_0(iid, EOK);
     84                ipc_answer_0(iid, EOK);
    8785        }
    8886       
     
    9391       
    9492                callid = async_get_call(&call);
    95                 switch  (IPC_GET_IMETHOD(call)) {
     93                switch  (IPC_GET_METHOD(call)) {
    9694                case IPC_M_PHONE_HUNGUP:
    9795                        return;
     
    136134                        break;
    137135                default:
    138                         async_answer_0(callid, ENOTSUP);
     136                        ipc_answer_0(callid, ENOTSUP);
    139137                        break;
    140138                }
     
    153151                goto err;
    154152
    155         vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0);
     153        vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
    156154        if (vfs_phone < EOK) {
    157155                printf(NAME ": failed to connect to VFS\n");
Note: See TracChangeset for help on using the changeset viewer.