Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 151f1cc in mainline


Ignore:
Timestamp:
2017-04-02T11:36:01Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
163fc09
Parents:
9c4cf0d
Message:

Rename _vfs_walk() to vfs_walk()

Location:
uspace/lib/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/vfs/vfs.c

    r9c4cf0d r151f1cc  
    116116}
    117117
    118 int _vfs_walk(int parent, const char *path, int flags)
     118int vfs_walk(int parent, const char *path, int flags)
    119119{
    120120        async_exch_t *exch = vfs_exchange_begin();
     
    148148                return ENOENT;
    149149        }
    150         int rc = _vfs_walk(root, p, flags);
     150        int rc = vfs_walk(root, p, flags);
    151151        vfs_put(root);
    152152        free(p);
     
    338338                }
    339339               
    340                 int mpfd = _vfs_walk(root_fd, mpa, WALK_DIRECTORY);
     340                int mpfd = vfs_walk(root_fd, mpa, WALK_DIRECTORY);
    341341                if (mpfd >= 0) {
    342342                        rc = vfs_mount(mpfd, fs_name, service_id, opts, flags,
     
    721721{
    722722        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);
    724724
    725725        if (file < 0)
  • uspace/lib/c/include/vfs/vfs.h

    r9c4cf0d r151f1cc  
    8282extern void vfs_exchange_end(async_exch_t *);
    8383
    84 extern int _vfs_walk(int, const char *, int);
    85 
    8684extern int vfs_pass_handle(async_exch_t *, int, async_exch_t *);
    8785extern int vfs_receive_handle(bool);
     
    110108extern int vfs_unmount(int);
    111109extern int vfs_unmount_path(const char *);
     110extern int vfs_walk(int, const char *, int);
    112111
    113112
Note: See TracChangeset for help on using the changeset viewer.