Changeset 36d852c in mainline for uspace/srv/vfs/vfs_mount.c


Ignore:
Timestamp:
2007-12-23T19:45:30Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
654b7db
Parents:
5c786d1
Message:

Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add
IPC_M_DATA_READ, it will not clash and cause confusion with userspace wrappers
such as ipc_data_receive(). Rename the forementioned wrappers to
ipc_data_write_send(), ipc_data_write_receive() and ipc_data_write_deliver().

File:
1 edited

Legend:

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

    r5c786d1 r36d852c  
    8787         * system.
    8888         */
    89         if (!ipc_data_receive(&callid, NULL, &size)) {
     89        if (!ipc_data_write_receive(&callid, NULL, &size)) {
    9090                ipc_answer_0(callid, EINVAL);
    9191                ipc_answer_0(rid, EINVAL);
     
    107107         */
    108108        char fs_name[FS_NAME_MAXLEN + 1];
    109         (void) ipc_data_deliver(callid, fs_name, size);
     109        (void) ipc_data_write_deliver(callid, fs_name, size);
    110110        fs_name[size] = '\0';
    111111       
     
    123123         * Now, we want the client to send us the mount point.
    124124         */
    125         if (!ipc_data_receive(&callid, NULL, &size)) {
     125        if (!ipc_data_write_receive(&callid, NULL, &size)) {
    126126                ipc_answer_0(callid, EINVAL);
    127127                ipc_answer_0(rid, EINVAL);
     
    151151         * Deliver the mount point.
    152152         */
    153         (void) ipc_data_deliver(callid, buf, size);
     153        (void) ipc_data_write_deliver(callid, buf, size);
    154154
    155155        /*
Note: See TracChangeset for help on using the changeset viewer.