Subversion Repositories HelenOS

Rev

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

Rev 3087 Rev 3109
Line 59... Line 59...
59
        [IPC_METHOD_TO_VFS_OP(VFS_LOOKUP)] = VFS_OP_DEFINED,
59
        [IPC_METHOD_TO_VFS_OP(VFS_LOOKUP)] = VFS_OP_DEFINED,
60
        [IPC_METHOD_TO_VFS_OP(VFS_READ)] = VFS_OP_DEFINED,
60
        [IPC_METHOD_TO_VFS_OP(VFS_READ)] = VFS_OP_DEFINED,
61
        [IPC_METHOD_TO_VFS_OP(VFS_WRITE)] = VFS_OP_DEFINED,
61
        [IPC_METHOD_TO_VFS_OP(VFS_WRITE)] = VFS_OP_DEFINED,
62
        [IPC_METHOD_TO_VFS_OP(VFS_TRUNCATE)] = VFS_OP_DEFINED,
62
        [IPC_METHOD_TO_VFS_OP(VFS_TRUNCATE)] = VFS_OP_DEFINED,
63
        [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_DEFINED,
63
        [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_DEFINED,
-
 
64
        [IPC_METHOD_TO_VFS_OP(VFS_MOUNTED)] = VFS_OP_DEFINED,
64
        [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_NULL,
65
        [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_NULL,
65
        [IPC_METHOD_TO_VFS_OP(VFS_DESTROY)] = VFS_OP_DEFINED,
66
        [IPC_METHOD_TO_VFS_OP(VFS_DESTROY)] = VFS_OP_DEFINED,
66
    }
67
    }
67
};
68
};
68
 
69
 
Line 103... Line 104...
103
        ipc_callid_t callid;
104
        ipc_callid_t callid;
104
        ipc_call_t call;
105
        ipc_call_t call;
105
   
106
   
106
        callid = async_get_call(&call);
107
        callid = async_get_call(&call);
107
        switch  (IPC_GET_METHOD(call)) {
108
        switch  (IPC_GET_METHOD(call)) {
-
 
109
        case VFS_MOUNTED:
-
 
110
            tmpfs_mounted(callid, &call);
-
 
111
            break;
108
        case VFS_MOUNT:
112
        case VFS_MOUNT:
109
            tmpfs_mount(callid, &call);
113
            tmpfs_mount(callid, &call);
110
            break;
114
            break;
111
        case VFS_LOOKUP:
115
        case VFS_LOOKUP:
112
            tmpfs_lookup(callid, &call);
116
            tmpfs_lookup(callid, &call);