diff options
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 5740edf..5155c9a 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -216,3 +216,16 @@ vfs_rootname(const char *path, char **new_path) *new_path = tmp; return 0; } + + +int +vfs_vget(struct vnode *parent, const char *name, struct vnode **vp) +{ + return parent->vops->vget(parent, name, vp); +} + +ssize_t +vfs_read(struct vnode *vp, char *buf, size_t count) +{ + return vp->vops->read(vp, buf, count); +} |