Changes in uspace/srv/vfs/vfs_ops.c [5bb9907:b72efe8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ops.c
r5bb9907 rb72efe8 76 76 vfs_node_t *mr_node; 77 77 fs_index_t rindex; 78 aoff64_t rsize;78 size_t rsize; 79 79 unsigned rlnkcnt; 80 80 async_exch_t *exch; … … 146 146 147 147 rindex = (fs_index_t) IPC_GET_ARG1(answer); 148 rsize = ( aoff64_t) MERGE_LOUP32(IPC_GET_ARG2(answer), IPC_GET_ARG3(answer));149 rlnkcnt = (unsigned) IPC_GET_ARG 4(answer);148 rsize = (size_t) IPC_GET_ARG2(answer); 149 rlnkcnt = (unsigned) IPC_GET_ARG3(answer); 150 150 151 151 mr_res.triplet.fs_handle = fs_handle; … … 229 229 if (rc == EOK) { 230 230 rindex = (fs_index_t) IPC_GET_ARG1(answer); 231 rsize = (aoff64_t) MERGE_LOUP32(IPC_GET_ARG2(answer), 232 IPC_GET_ARG3(answer)); 233 rlnkcnt = (unsigned) IPC_GET_ARG4(answer); 231 rsize = (size_t) IPC_GET_ARG2(answer); 232 rlnkcnt = (unsigned) IPC_GET_ARG3(answer); 234 233 235 234 mr_res.triplet.fs_handle = fs_handle; … … 796 795 ipc_call_t answer; 797 796 if (read) { 798 rc = async_data_read_forward_ 4_1(fs_exch, VFS_OUT_READ,799 file->node->devmap_handle, file->node->index, 800 LOWER32(file->pos), UPPER32(file->pos),&answer);797 rc = async_data_read_forward_3_1(fs_exch, VFS_OUT_READ, 798 file->node->devmap_handle, file->node->index, file->pos, 799 &answer); 801 800 } else { 802 801 if (file->append) 803 802 file->pos = file->node->size; 804 803 805 rc = async_data_write_forward_ 4_1(fs_exch, VFS_OUT_WRITE,806 file->node->devmap_handle, file->node->index, 807 LOWER32(file->pos), UPPER32(file->pos),&answer);804 rc = async_data_write_forward_3_1(fs_exch, VFS_OUT_WRITE, 805 file->node->devmap_handle, file->node->index, file->pos, 806 &answer); 808 807 } 809 808 … … 822 821 /* Update the cached version of node's size. */ 823 822 if (rc == EOK) 824 file->node->size = MERGE_LOUP32(IPC_GET_ARG2(answer), 825 IPC_GET_ARG3(answer)); 823 file->node->size = IPC_GET_ARG2(answer); 826 824 fibril_rwlock_write_unlock(&file->node->contents_rwlock); 827 825 }
Note:
See TracChangeset
for help on using the changeset viewer.