Changeset cf2af94 in mainline for uspace/srv/fs/pipefs/pipefs.c


Ignore:
Timestamp:
2011-02-09T11:46:47Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cb15135a
Parents:
a49c4002 (diff), 0b37882 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

Local modifications:

  • change pipefs and ext2 to build again (use async_* calls instead of ipc_*)
File:
1 edited

Legend:

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

    ra49c4002 rcf2af94  
    4242
    4343#include "pipefs.h"
    44 #include <ipc/ipc.h>
    4544#include <ipc/services.h>
     45#include <ipc/ns.h>
    4646#include <async.h>
    4747#include <errno.h>
     
    8888                 * created by IPC_M_CONNECT_TO_ME.
    8989                 */
    90                 ipc_answer_0(iid, EOK);
     90                async_answer_0(iid, EOK);
    9191        }
    9292       
     
    9797       
    9898                callid = async_get_call(&call);
    99                 switch  (IPC_GET_METHOD(call)) {
     99                switch  (IPC_GET_IMETHOD(call)) {
    100100                case IPC_M_PHONE_HUNGUP:
    101101                        return;
     
    140140                        break;
    141141                default:
    142                         ipc_answer_0(callid, ENOTSUP);
     142                        async_answer_0(callid, ENOTSUP);
    143143                        break;
    144144                }
     
    155155        }
    156156
    157         int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
     157        int vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0);
    158158        if (vfs_phone < EOK) {
    159159                printf(NAME ": Unable to connect to VFS\n");
Note: See TracChangeset for help on using the changeset viewer.