aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/vfs.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-01 00:08:53 +0200
committerMarvin Borner2020-05-01 00:08:53 +0200
commit6b48e277cd249d0b5f7b5c7032457bb60dda46d6 (patch)
treeb7634d9bdea49f91096a9e250536dcc1d320656c /src/kernel/fs/vfs.c
parent6c5e31b1e5534748f89233cdebf778247b040cbc (diff)
Some vfs fixes
Diffstat (limited to 'src/kernel/fs/vfs.c')
-rw-r--r--src/kernel/fs/vfs.c4
1 files changed, 2 insertions, 2 deletions
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);