Changeset 151f1cc in mainline
- Timestamp:
- 2017-04-02T11:36:01Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 163fc09
- Parents:
- 9c4cf0d
- Location:
- uspace/lib/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/vfs.c
r9c4cf0d r151f1cc 116 116 } 117 117 118 int _vfs_walk(int parent, const char *path, int flags)118 int vfs_walk(int parent, const char *path, int flags) 119 119 { 120 120 async_exch_t *exch = vfs_exchange_begin(); … … 148 148 return ENOENT; 149 149 } 150 int rc = _vfs_walk(root, p, flags);150 int rc = vfs_walk(root, p, flags); 151 151 vfs_put(root); 152 152 free(p); … … 338 338 } 339 339 340 int mpfd = _vfs_walk(root_fd, mpa, WALK_DIRECTORY);340 int mpfd = vfs_walk(root_fd, mpa, WALK_DIRECTORY); 341 341 if (mpfd >= 0) { 342 342 rc = vfs_mount(mpfd, fs_name, service_id, opts, flags, … … 721 721 { 722 722 int flags = (kind == KIND_DIRECTORY) ? WALK_DIRECTORY : WALK_REGULAR; 723 int file = _vfs_walk(parent, child, WALK_MUST_CREATE | flags);723 int file = vfs_walk(parent, child, WALK_MUST_CREATE | flags); 724 724 725 725 if (file < 0) -
uspace/lib/c/include/vfs/vfs.h
r9c4cf0d r151f1cc 82 82 extern void vfs_exchange_end(async_exch_t *); 83 83 84 extern int _vfs_walk(int, const char *, int);85 86 84 extern int vfs_pass_handle(async_exch_t *, int, async_exch_t *); 87 85 extern int vfs_receive_handle(bool); … … 110 108 extern int vfs_unmount(int); 111 109 extern int vfs_unmount_path(const char *); 110 extern int vfs_walk(int, const char *, int); 112 111 113 112
Note:
See TracChangeset
for help on using the changeset viewer.