Changeset b5e68c8 in mainline for uspace/srv/fs/devfs/devfs.c
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/devfs/devfs.c
re80329d6 rb5e68c8 40 40 41 41 #include <stdio.h> 42 #include <ipc/ipc.h>43 42 #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, 55 57 }; 56 58 … … 60 62 { 61 63 if (iid) 62 ipc_answer_0(iid, EOK);64 async_answer_0(iid, EOK); 63 65 64 66 while (true) { … … 66 68 ipc_callid_t callid = async_get_call(&call); 67 69 68 switch (IPC_GET_ METHOD(call)) {70 switch (IPC_GET_IMETHOD(call)) { 69 71 case IPC_M_PHONE_HUNGUP: 70 72 return; … … 109 111 break; 110 112 default: 111 ipc_answer_0(callid, ENOTSUP);113 async_answer_0(callid, ENOTSUP); 112 114 break; 113 115 } … … 124 126 } 125 127 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); 127 129 if (vfs_phone < EOK) { 128 130 printf(NAME ": Unable to connect to VFS\n");
Note:
See TracChangeset
for help on using the changeset viewer.