Subversion Repositories HelenOS

Rev

Rev 2588 | Rev 2593 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2588 Rev 2589
Line 54... Line 54...
54
    bool keep_on_going = 1;
54
    bool keep_on_going = 1;
55
 
55
 
56
    printf("Connection opened from %p\n", icall->in_phone_hash);
56
    printf("Connection opened from %p\n", icall->in_phone_hash);
57
 
57
 
58
    /*
58
    /*
59
     * Initialize the table of open files.
-
 
60
     */
-
 
61
    if (!vfs_conn_open_files_init()) {
-
 
62
        ipc_answer_fast_0(iid, ENOMEM);
-
 
63
        return;
-
 
64
    }
-
 
65
 
-
 
66
    /*
-
 
67
     * The connection was opened via the IPC_CONNECT_ME_TO call.
59
     * The connection was opened via the IPC_CONNECT_ME_TO call.
68
     * This call needs to be answered.
60
     * This call needs to be answered.
69
     */
61
     */
70
    ipc_answer_fast_0(iid, EOK);
62
    ipc_answer_fast_0(iid, EOK);
71
 
63
 
Line 94... Line 86...
94
        case VFS_REGISTER:
86
        case VFS_REGISTER:
95
            vfs_register(callid, &call);
87
            vfs_register(callid, &call);
96
            keep_on_going = false;
88
            keep_on_going = false;
97
            break;
89
            break;
98
        case VFS_MOUNT:
90
        case VFS_MOUNT:
-
 
91
            vfs_mount(callid, &call);
99
        case VFS_UNMOUNT:
92
            keep_on_going = false;
-
 
93
            break;
100
        case VFS_OPEN:
94
        case VFS_OPEN:
-
 
95
            vfs_open(callid, &call);
-
 
96
            break;
-
 
97
        case VFS_UNMOUNT:
101
        case VFS_CREATE:
98
        case VFS_CREATE:
102
        case VFS_CLOSE:
99
        case VFS_CLOSE:
103
        case VFS_READ:
100
        case VFS_READ:
104
        case VFS_WRITE:
101
        case VFS_WRITE:
105
        case VFS_SEEK:
102
        case VFS_SEEK: