aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-15 12:18:16 -0400
committerIan Moffett <ian@osmora.org>2024-03-15 12:18:16 -0400
commitec2da40e65346bd5d3055777a76852892da21ea7 (patch)
treed1afa7c66515a42945ccbb181e0ce58fe53dc773 /sys/include
parent45547c3a0056ab5732c4ea1e01deee10749ecbcb (diff)
kernel: vfs: Implement vfs_path_to_node()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/sys/vfs.h b/sys/include/sys/vfs.h
index a684c3f..c1bef53 100644
--- a/sys/include/sys/vfs.h
+++ b/sys/include/sys/vfs.h
@@ -42,7 +42,7 @@ void vfs_init(void);
struct fs_info *vfs_byname(const char *name);
int vfs_vget(struct vnode *parent, const char *name, struct vnode **vp);
-struct vnode *vfs_path_to_node(const char *path);
+int vfs_path_to_node(const char *path, struct vnode **vp);
char *vfs_get_fname_at(const char *path, size_t idx);
int vfs_rootname(const char *path, char **new_path);
bool vfs_is_valid_path(const char *path);