Changeset 0da4e41 in mainline for uspace/lib/libfs/libfs.c


Ignore:
Timestamp:
2009-10-11T16:11:22Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba8f8cb
Parents:
bbb01b98
Message:

ipc_data_*() and ipc_share_*(), respectively, should be renamed to
async_data_*() and async_share_*(), respectively, because these functions are
using the async framework.

File:
1 edited

Legend:

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

    rbbb01b98 r0da4e41  
    9191         * Send our VFS info structure to VFS.
    9292         */
    93         int rc = ipc_data_write_start(vfs_phone, info, sizeof(*info));
     93        int rc = async_data_write_start(vfs_phone, info, sizeof(*info));
    9494        if (rc != EOK) {
    9595                async_wait_for(req, NULL);
     
    114114         * Request sharing the Path Lookup Buffer with VFS.
    115115         */
    116         rc = ipc_share_in_start_0_0(vfs_phone, reg->plb_ro, PLB_SIZE);
     116        rc = async_share_in_start_0_0(vfs_phone, reg->plb_ro, PLB_SIZE);
    117117        if (rc) {
    118118                async_wait_for(req, NULL);
     
    169169        ipc_answer_0(callid, EOK);      /* acknowledge the mountee_phone */
    170170       
    171         res = ipc_data_write_receive(&callid, NULL);
     171        res = async_data_write_receive(&callid, NULL);
    172172        if (!res) {
    173173                ipc_hangup(mountee_phone);
     
    486486        ipc_callid_t callid;
    487487        size_t size;
    488         if (!ipc_data_read_receive(&callid, &size) ||
     488        if (!async_data_read_receive(&callid, &size) ||
    489489            size != sizeof(struct stat)) {
    490490                ipc_answer_0(callid, EINVAL);
     
    503503        stat.size = ops->size_get(fn);
    504504
    505         ipc_data_read_finalize(callid, &stat, sizeof(struct stat));
     505        async_data_read_finalize(callid, &stat, sizeof(struct stat));
    506506        ipc_answer_0(rid, EOK);
    507507}
Note: See TracChangeset for help on using the changeset viewer.