From 6b48e277cd249d0b5f7b5c7032457bb60dda46d6 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 1 May 2020 00:08:53 +0200 Subject: Some vfs fixes --- src/kernel/fs/vfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/fs/vfs.c') diff --git a/src/kernel/fs/vfs.c b/src/kernel/fs/vfs.c index 98ec6fb..68944c7 100644 --- a/src/kernel/fs/vfs.c +++ b/src/kernel/fs/vfs.c @@ -32,7 +32,7 @@ void fs_close(struct fs_node *node) node->close(node); } -struct dirent *fs_read_directory(struct fs_node *node, uint32_t index) +struct dirent *fs_read_dir(struct fs_node *node, uint32_t index) { if ((node->type & DIR_NODE) != 0 && node->find_dir != NULL) return node->read_dir(node, index); @@ -40,7 +40,7 @@ struct dirent *fs_read_directory(struct fs_node *node, uint32_t index) return (struct dirent *)NULL; } -struct fs_node *fs_find_directory(struct fs_node *node, char *name) +struct fs_node *fs_find_dir(struct fs_node *node, char *name) { if ((node->type & DIR_NODE) != 0 && node->find_dir != NULL) return node->find_dir(node, name); -- cgit v1.2.3