Changeset 215e375 in mainline for uspace/srv/vfs


Ignore:
Timestamp:
2007-12-31T17:23:20Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f57f8ea
Parents:
27d293a
Message:

The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename the send,
receive and deliver wrappers to names ending with 'start', 'receive' and
'finalize', respectively. This should make it clearer for dummies.

Location:
uspace/srv/vfs
Files:
3 edited

Legend:

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

    r27d293a r215e375  
    107107         */
    108108        char fs_name[FS_NAME_MAXLEN + 1];
    109         (void) ipc_data_write_deliver(callid, fs_name, size);
     109        (void) ipc_data_write_finalize(callid, fs_name, size);
    110110        fs_name[size] = '\0';
    111111       
     
    151151         * Deliver the mount point.
    152152         */
    153         (void) ipc_data_write_deliver(callid, buf, size);
     153        (void) ipc_data_write_finalize(callid, buf, size);
    154154
    155155        /*
  • uspace/srv/vfs/vfs_open.c

    r27d293a r215e375  
    8383
    8484        int rc;
    85         if ((rc = ipc_data_write_deliver(callid, path, size))) {
     85        if ((rc = ipc_data_write_finalize(callid, path, size))) {
    8686                ipc_answer_0(rid, rc);
    8787                free(path);
  • uspace/srv/vfs/vfs_register.c

    r27d293a r215e375  
    206206        futex_initialize(&fs_info->phone_futex, 1);
    207207               
    208         rc = ipc_data_write_deliver(callid, &fs_info->vfs_info, size);
     208        rc = ipc_data_write_finalize(callid, &fs_info->vfs_info, size);
    209209        if (rc != EOK) {
    210210                dprintf("Failed to deliver the VFS info into our AS, rc=%d.\n",
     
    300300         * Commit to read-only sharing the PLB with the client.
    301301         */
    302         (void) ipc_share_in_deliver(callid, plb,
     302        (void) ipc_share_in_finalize(callid, plb,
    303303            AS_AREA_READ | AS_AREA_CACHEABLE);
    304304
Note: See TracChangeset for help on using the changeset viewer.