Changes in uspace/srv/fs/devfs/devfs.c [ffa2c8ef:3c11713] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/devfs/devfs.c
rffa2c8ef r3c11713 40 40 41 41 #include <stdio.h> 42 #include <ipc/ipc.h> 42 43 #include <ipc/services.h> 43 #include <ipc/ns.h>44 44 #include <async.h> 45 45 #include <errno.h> … … 53 53 static vfs_info_t devfs_vfs_info = { 54 54 .name = NAME, 55 .concurrent_read_write = false,56 .write_retains_size = false,57 55 }; 58 56 … … 62 60 { 63 61 if (iid) 64 async_answer_0(iid, EOK);62 ipc_answer_0(iid, EOK); 65 63 66 64 while (true) { … … 68 66 ipc_callid_t callid = async_get_call(&call); 69 67 70 switch (IPC_GET_ IMETHOD(call)) {68 switch (IPC_GET_METHOD(call)) { 71 69 case IPC_M_PHONE_HUNGUP: 72 70 return; … … 111 109 break; 112 110 default: 113 async_answer_0(callid, ENOTSUP);111 ipc_answer_0(callid, ENOTSUP); 114 112 break; 115 113 } … … 126 124 } 127 125 128 int vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0);126 int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0); 129 127 if (vfs_phone < EOK) { 130 128 printf(NAME ": Unable to connect to VFS\n");
Note:
See TracChangeset
for help on using the changeset viewer.