Changeset fe91f66 in mainline for uspace/lib/c/generic/vfs/vfs.c
- Timestamp:
- 2017-03-26T20:57:06Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b5b5d84
- Parents:
- fcab7ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/vfs.c
rfcab7ef rfe91f66 160 160 { 161 161 async_exch_t *exch = vfs_exchange_begin(); 162 sysarg_t rc = async_req_2_0(exch, VFS_IN_OPEN 2, fildes, mode);162 sysarg_t rc = async_req_2_0(exch, VFS_IN_OPEN, fildes, mode); 163 163 vfs_exchange_end(exch); 164 164 … … 654 654 async_exch_t *exch = vfs_exchange_begin(); 655 655 656 req = async_send_1(exch, VFS_IN_ FSTAT, fildes, NULL);656 req = async_send_1(exch, VFS_IN_STAT, fildes, NULL); 657 657 rc = async_data_read_start(exch, (void *) stat, sizeof(struct stat)); 658 658 if (rc != EOK) { … … 808 808 } 809 809 810 static int _vfs_unlink 2(int parent, const char *path, int expect, int wflag)810 static int _vfs_unlink(int parent, const char *path, int expect, int wflag) 811 811 { 812 812 sysarg_t rc; … … 815 815 async_exch_t *exch = vfs_exchange_begin(); 816 816 817 req = async_send_3(exch, VFS_IN_UNLINK 2, parent, expect, wflag, NULL);817 req = async_send_3(exch, VFS_IN_UNLINK, parent, expect, wflag, NULL); 818 818 rc = async_data_write_start(exch, path, str_size(path)); 819 819 … … 849 849 } 850 850 851 int rc = _vfs_unlink 2(root, pa, -1, 0);851 int rc = _vfs_unlink(root, pa, -1, 0); 852 852 853 853 if (rc != EOK) { … … 882 882 } 883 883 884 int rc = _vfs_unlink 2(root, pa, -1, WALK_DIRECTORY);884 int rc = _vfs_unlink(root, pa, -1, WALK_DIRECTORY); 885 885 if (rc != EOK) { 886 886 errno = rc;
Note:
See TracChangeset
for help on using the changeset viewer.