Changeset fe91f66 in mainline for uspace/lib/c
- Timestamp:
- 2017-03-26T20:57:06Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b5b5d84
- Parents:
- fcab7ef
- Location:
- uspace/lib/c
- Files:
-
- 2 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; -
uspace/lib/c/include/ipc/vfs.h
rfcab7ef rfe91f66 66 66 VFS_IN_WRITE, 67 67 VFS_IN_TRUNCATE, 68 VFS_IN_ FSTAT,68 VFS_IN_STAT, 69 69 VFS_IN_CLOSE, 70 70 VFS_IN_MOUNT, … … 76 76 VFS_IN_STATFS, 77 77 VFS_IN_WALK, 78 VFS_IN_OPEN 2,79 VFS_IN_UNLINK 2,78 VFS_IN_OPEN, 79 VFS_IN_UNLINK, 80 80 VFS_IN_CLONE, 81 81 } vfs_in_request_t;
Note:
See TracChangeset
for help on using the changeset viewer.