Changes in uspace/srv/vfs/vfs.c [79ae36dd:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.c
r79ae36dd rffa2c8ef 37 37 38 38 #include <ipc/services.h> 39 #include < ns.h>39 #include <ipc/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 cont= true;54 53 bool keep_on_going = 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 ( cont) {61 while (keep_on_going) { 62 62 ipc_call_t call; 63 63 ipc_callid_t callid = async_get_call(&call); 64 64 65 if (!IPC_GET_IMETHOD(call)) 65 switch (IPC_GET_IMETHOD(call)) { 66 case IPC_M_PHONE_HUNGUP: 67 keep_on_going = false; 66 68 break; 67 68 switch (IPC_GET_IMETHOD(call)) {69 69 case VFS_IN_REGISTER: 70 70 vfs_register(callid, &call); 71 cont= false;71 keep_on_going = 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.