Changeset 41811af in mainline for uspace/srv/vfs/vfs.c
- Timestamp:
- 2011-06-10T10:14:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ab547063
- Parents:
- 9536e6e (diff), 390d80d (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/vfs/vfs.c
r9536e6e r41811af 37 37 38 38 #include <ipc/services.h> 39 #include < ipc/ns.h>39 #include <ns.h> 40 40 #include <async.h> 41 41 #include <errno.h> … … 51 51 static void vfs_connection(ipc_callid_t iid, ipc_call_t *icall) 52 52 { 53 bool keep_on_going= true;54 53 bool cont = true; 54 55 55 /* 56 56 * The connection was opened via the IPC_CONNECT_ME_TO call. … … 59 59 async_answer_0(iid, EOK); 60 60 61 while ( keep_on_going) {61 while (cont) { 62 62 ipc_call_t call; 63 63 ipc_callid_t callid = async_get_call(&call); 64 64 65 if (!IPC_GET_IMETHOD(call)) 66 break; 67 65 68 switch (IPC_GET_IMETHOD(call)) { 66 case IPC_M_PHONE_HUNGUP:67 keep_on_going = false;68 break;69 69 case VFS_IN_REGISTER: 70 70 vfs_register(callid, &call); 71 keep_on_going= false;71 cont = false; 72 72 break; 73 73 case VFS_IN_MOUNT: … … 123 123 } 124 124 } 125 125 126 126 /* 127 127 * Open files for this client will be cleaned up when its last
Note:
See TracChangeset
for help on using the changeset viewer.