Changeset ab87db5 in mainline for uspace/srv/vfs/vfs_ops.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

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

    rbc417660 rab87db5  
    168168        res.triplet.fs_handle = fs_handle;
    169169        res.triplet.service_id = service_id;
    170         res.triplet.index = (fs_index_t) IPC_GET_ARG1(answer);
    171         res.size = (int64_t) MERGE_LOUP32(IPC_GET_ARG2(answer),
    172             IPC_GET_ARG3(answer));
     170        res.triplet.index = (fs_index_t) ipc_get_arg1(&answer);
     171        res.size = (int64_t) MERGE_LOUP32(ipc_get_arg2(&answer),
     172            ipc_get_arg3(&answer));
    173173        res.type = VFS_NODE_DIRECTORY;
    174174
     
    374374        }
    375375
    376         *bytes = IPC_GET_ARG1(*answer);
     376        *bytes = ipc_get_arg1(answer);
    377377        return rc;
    378378}
     
    401401        async_wait_for(msg, &rc);
    402402
    403         chunk->size = IPC_GET_ARG1(*answer);
     403        chunk->size = ipc_get_arg1(answer);
    404404
    405405        return (errno_t) rc;
     
    488488                /* Update the cached version of node's size. */
    489489                if (rc == EOK) {
    490                         file->node->size = MERGE_LOUP32(IPC_GET_ARG2(answer),
    491                             IPC_GET_ARG3(answer));
     490                        file->node->size = MERGE_LOUP32(ipc_get_arg2(&answer),
     491                            ipc_get_arg3(&answer));
    492492                }
    493493                fibril_rwlock_write_unlock(&file->node->contents_rwlock);
Note: See TracChangeset for help on using the changeset viewer.