Changeset 41811af in mainline for uspace/srv/vfs/vfs.c


Ignore:
Timestamp:
2011-06-10T10:14:26Z (14 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
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.
Message:

Merge mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.c

    r9536e6e r41811af  
    3737
    3838#include <ipc/services.h>
    39 #include <ipc/ns.h>
     39#include <ns.h>
    4040#include <async.h>
    4141#include <errno.h>
     
    5151static void vfs_connection(ipc_callid_t iid, ipc_call_t *icall)
    5252{
    53         bool keep_on_going = true;
    54 
     53        bool cont = true;
     54       
    5555        /*
    5656         * The connection was opened via the IPC_CONNECT_ME_TO call.
     
    5959        async_answer_0(iid, EOK);
    6060       
    61         while (keep_on_going) {
     61        while (cont) {
    6262                ipc_call_t call;
    6363                ipc_callid_t callid = async_get_call(&call);
    6464               
     65                if (!IPC_GET_IMETHOD(call))
     66                        break;
     67               
    6568                switch (IPC_GET_IMETHOD(call)) {
    66                 case IPC_M_PHONE_HUNGUP:
    67                         keep_on_going = false;
    68                         break;
    6969                case VFS_IN_REGISTER:
    7070                        vfs_register(callid, &call);
    71                         keep_on_going = false;
     71                        cont = false;
    7272                        break;
    7373                case VFS_IN_MOUNT:
     
    123123                }
    124124        }
    125 
     125       
    126126        /*
    127127         * Open files for this client will be cleaned up when its last
Note: See TracChangeset for help on using the changeset viewer.