Changeset cf2af94 in mainline for uspace/srv/fs/devfs/devfs.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/devfs/devfs.c

    ra49c4002 rcf2af94  
    4040
    4141#include <stdio.h>
    42 #include <ipc/ipc.h>
    4342#include <ipc/services.h>
     43#include <ipc/ns.h>
    4444#include <async.h>
    4545#include <errno.h>
     
    5353static vfs_info_t devfs_vfs_info = {
    5454        .name = NAME,
     55        .concurrent_read_write = false,
     56        .write_retains_size = false,
    5557};
    5658
     
    6062{
    6163        if (iid)
    62                 ipc_answer_0(iid, EOK);
     64                async_answer_0(iid, EOK);
    6365       
    6466        while (true) {
     
    6668                ipc_callid_t callid = async_get_call(&call);
    6769               
    68                 switch  (IPC_GET_METHOD(call)) {
     70                switch  (IPC_GET_IMETHOD(call)) {
    6971                case IPC_M_PHONE_HUNGUP:
    7072                        return;
     
    109111                        break;
    110112                default:
    111                         ipc_answer_0(callid, ENOTSUP);
     113                        async_answer_0(callid, ENOTSUP);
    112114                        break;
    113115                }
     
    124126        }
    125127       
    126         int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
     128        int vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0);
    127129        if (vfs_phone < EOK) {
    128130                printf(NAME ": Unable to connect to VFS\n");
Note: See TracChangeset for help on using the changeset viewer.