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


Ignore:
Timestamp:
2011-02-09T11:46:47Z (14 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/ext2/ext2.c

    ra49c4002 rcf2af94  
    3838
    3939#include "ext2.h"
    40 #include <ipc/ipc.h>
    4140#include <ipc/services.h>
     41#include <ipc/ns.h>
    4242#include <async.h>
    4343#include <errno.h>
     
    8282                 * created by IPC_M_CONNECT_TO_ME.
    8383                 */
    84                 ipc_answer_0(iid, EOK);
     84                async_answer_0(iid, EOK);
    8585        }
    8686       
     
    9191       
    9292                callid = async_get_call(&call);
    93                 switch  (IPC_GET_METHOD(call)) {
     93                switch  (IPC_GET_IMETHOD(call)) {
    9494                case IPC_M_PHONE_HUNGUP:
    9595                        return;
     
    134134                        break;
    135135                default:
    136                         ipc_answer_0(callid, ENOTSUP);
     136                        async_answer_0(callid, ENOTSUP);
    137137                        break;
    138138                }
     
    147147        printf(NAME ": HelenOS EXT2 file system server\n");
    148148
    149         vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
     149        vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0);
    150150        if (vfs_phone < EOK) {
    151151                printf(NAME ": failed to connect to VFS\n");
Note: See TracChangeset for help on using the changeset viewer.