Changes in uspace/srv/vfs/vfs.c [ffa2c8ef:79ae36dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.c
rffa2c8ef r79ae36dd 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.