Changes in uspace/lib/libc/generic/vfs/vfs.c [3734106:0da4e41] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/vfs/vfs.c
r3734106 r0da4e41 140 140 141 141 req = async_send_2(vfs_phone, VFS_IN_MOUNT, dev_handle, flags, NULL); 142 rc = ipc_data_write_start(vfs_phone, (void *) mpa, mpa_size);142 rc = async_data_write_start(vfs_phone, (void *) mpa, mpa_size); 143 143 if (rc != EOK) { 144 144 async_wait_for(req, &rc_orig); … … 152 152 } 153 153 154 rc = ipc_data_write_start(vfs_phone, (void *) opts, str_size(opts));154 rc = async_data_write_start(vfs_phone, (void *) opts, str_size(opts)); 155 155 if (rc != EOK) { 156 156 async_wait_for(req, &rc_orig); … … 164 164 } 165 165 166 rc = ipc_data_write_start(vfs_phone, (void *) fs_name, str_size(fs_name));166 rc = async_data_write_start(vfs_phone, (void *) fs_name, str_size(fs_name)); 167 167 if (rc != EOK) { 168 168 async_wait_for(req, &rc_orig); … … 213 213 214 214 req = async_send_3(vfs_phone, VFS_IN_OPEN, lflag, oflag, 0, &answer); 215 rc = ipc_data_write_start(vfs_phone, pa, pa_size);215 rc = async_data_write_start(vfs_phone, pa, pa_size); 216 216 if (rc != EOK) { 217 217 ipcarg_t rc_orig; … … 290 290 291 291 req = async_send_1(vfs_phone, VFS_IN_READ, fildes, &answer); 292 rc = ipc_data_read_start(vfs_phone, (void *)buf, nbyte);292 rc = async_data_read_start(vfs_phone, (void *)buf, nbyte); 293 293 if (rc != EOK) { 294 294 ipcarg_t rc_orig; … … 322 322 323 323 req = async_send_1(vfs_phone, VFS_IN_WRITE, fildes, &answer); 324 rc = ipc_data_write_start(vfs_phone, (void *)buf, nbyte);324 rc = async_data_write_start(vfs_phone, (void *)buf, nbyte); 325 325 if (rc != EOK) { 326 326 ipcarg_t rc_orig; … … 402 402 403 403 req = async_send_1(vfs_phone, VFS_IN_FSTAT, fildes, NULL); 404 rc = ipc_data_read_start(vfs_phone, (void *)stat, sizeof(struct stat));404 rc = async_data_read_start(vfs_phone, (void *)stat, sizeof(struct stat)); 405 405 if (rc != EOK) { 406 406 ipcarg_t rc_orig; … … 437 437 438 438 req = async_send_0(vfs_phone, VFS_IN_STAT, NULL); 439 rc = ipc_data_write_start(vfs_phone, pa, pa_size);439 rc = async_data_write_start(vfs_phone, pa, pa_size); 440 440 if (rc != EOK) { 441 441 async_wait_for(req, &rc_orig); … … 448 448 return (int) rc_orig; 449 449 } 450 rc = ipc_data_read_start(vfs_phone, stat, sizeof(struct stat));450 rc = async_data_read_start(vfs_phone, stat, sizeof(struct stat)); 451 451 if (rc != EOK) { 452 452 async_wait_for(req, &rc_orig); … … 514 514 515 515 req = async_send_1(vfs_phone, VFS_IN_MKDIR, mode, NULL); 516 rc = ipc_data_write_start(vfs_phone, pa, pa_size);516 rc = async_data_write_start(vfs_phone, pa, pa_size); 517 517 if (rc != EOK) { 518 518 ipcarg_t rc_orig; … … 549 549 550 550 req = async_send_0(vfs_phone, VFS_IN_UNLINK, NULL); 551 rc = ipc_data_write_start(vfs_phone, pa, pa_size);551 rc = async_data_write_start(vfs_phone, pa, pa_size); 552 552 if (rc != EOK) { 553 553 ipcarg_t rc_orig; … … 602 602 603 603 req = async_send_0(vfs_phone, VFS_IN_RENAME, NULL); 604 rc = ipc_data_write_start(vfs_phone, olda, olda_size);604 rc = async_data_write_start(vfs_phone, olda, olda_size); 605 605 if (rc != EOK) { 606 606 async_wait_for(req, &rc_orig); … … 614 614 return (int) rc_orig; 615 615 } 616 rc = ipc_data_write_start(vfs_phone, newa, newa_size);616 rc = async_data_write_start(vfs_phone, newa, newa_size); 617 617 if (rc != EOK) { 618 618 async_wait_for(req, &rc_orig);
Note:
See TracChangeset
for help on using the changeset viewer.