Changes in uspace/srv/vfs/vfs.c [ffa2c8ef:b75e929] in mainline


Ignore:
File:
1 edited

Legend:

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

    rffa2c8ef rb75e929  
    3636 */
    3737
     38#include <ipc/ipc.h>
    3839#include <ipc/services.h>
    39 #include <ipc/ns.h>
    4040#include <async.h>
    4141#include <errno.h>
     
    4747#include "vfs.h"
    4848
    49 #define NAME  "vfs"
     49#define NAME "vfs"
    5050
    5151static void vfs_connection(ipc_callid_t iid, ipc_call_t *icall)
     
    5757         * This call needs to be answered.
    5858         */
    59         async_answer_0(iid, EOK);
     59        ipc_answer_0(iid, EOK);
    6060       
    6161        while (keep_on_going) {
     
    119119                        vfs_dup(callid, &call);
    120120                default:
    121                         async_answer_0(callid, ENOTSUP);
     121                        ipc_answer_0(callid, ENOTSUP);
    122122                        break;
    123123                }
     
    172172         * Register at the naming service.
    173173         */
    174         if (service_register(SERVICE_VFS) != EOK) {
    175                 printf("%s: Cannot register VFS service\n", NAME);
    176                 return EINVAL;
    177         }
     174        ipc_connect_to_me(PHONE_NS, SERVICE_VFS, 0, 0, NULL, NULL);
    178175       
    179176        /*
Note: See TracChangeset for help on using the changeset viewer.