Changeset 4198f9c3 in mainline for uspace/lib/libfs/libfs.c


Ignore:
Timestamp:
2009-06-28T13:43:15Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
852b801
Parents:
6408be3
Message:

Separate the VFS input and output protocols.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libfs/libfs.c

    r6408be3 r4198f9c3  
    7070         */
    7171        ipc_call_t answer;
    72         aid_t req = async_send_0(vfs_phone, VFS_REGISTER, &answer);
     72        aid_t req = async_send_0(vfs_phone, VFS_IN_REGISTER, &answer);
    7373
    7474        /*
     
    105105         
    106106        /*
    107          * Pick up the answer for the request to the VFS_REQUEST call.
     107         * Pick up the answer for the request to the VFS_IN_REQUEST call.
    108108         */
    109109        async_wait_for(req, NULL);
     
    187187       
    188188        ipc_call_t answer;
    189         aid_t msg = async_send_1(mountee_phone, VFS_MOUNTED, mr_dev_handle,
     189        aid_t msg = async_send_1(mountee_phone, VFS_OUT_MOUNTED, mr_dev_handle,
    190190            &answer);
    191191        ipc_forward_fast(callid, mountee_phone, 0, 0, 0, IPC_FF_ROUTE_FROM_ME);
     
    214214 * @param fs_handle File system handle of the file system where to perform
    215215 *                  the lookup.
    216  * @param rid       Request ID of the VFS_LOOKUP request.
    217  * @param request   VFS_LOOKUP request data itself.
     216 * @param rid       Request ID of the VFS_OUT_LOOKUP request.
     217 * @param request   VFS_OUT_LOOKUP request data itself.
    218218 *
    219219 */
     
    238238
    239239        if (cur->mp_data.mp_active) {
    240                 ipc_forward_slow(rid, cur->mp_data.phone, VFS_LOOKUP,
     240                ipc_forward_slow(rid, cur->mp_data.phone, VFS_OUT_LOOKUP,
    241241                    next, last, cur->mp_data.dev_handle, lflag, index,
    242242                    IPC_FF_ROUTE_FROM_ME);
     
    273273                                next--;
    274274                               
    275                         ipc_forward_slow(rid, tmp->mp_data.phone, VFS_LOOKUP,
    276                             next, last, tmp->mp_data.dev_handle, lflag, index,
    277                             IPC_FF_ROUTE_FROM_ME);
     275                        ipc_forward_slow(rid, tmp->mp_data.phone,
     276                            VFS_OUT_LOOKUP, next, last, tmp->mp_data.dev_handle,
     277                            lflag, index, IPC_FF_ROUTE_FROM_ME);
    278278                        ops->node_put(cur);
    279279                        ops->node_put(tmp);
     
    433433 * @param ops       libfs operations structure with function pointers to
    434434 *                  file system implementation
    435  * @param rid       Request ID of the VFS_OPEN_NODE request.
    436  * @param request   VFS_OPEN_NODE request data itself.
     435 * @param rid       Request ID of the VFS_OUT_OPEN_NODE request.
     436 * @param request   VFS_OUT_OPEN_NODE request data itself.
    437437 *
    438438 */
Note: See TracChangeset for help on using the changeset viewer.