From 0eb0f4541ac0418be01994520c42ba7b118910cc Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Sun, 12 Jul 2026 10:39:35 -0400 Subject: [PATCH] fs_init: change to dirent Signed-off-by: Michael Shaw --- fs/vfs/ramfs.c | 2 +- include/fs/vfs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/vfs/ramfs.c b/fs/vfs/ramfs.c index 61433ad..5811f07 100644 --- a/fs/vfs/ramfs.c +++ b/fs/vfs/ramfs.c @@ -209,7 +209,7 @@ static ssize_t get_dents(inode_t *parent, dirent_t **dents) return n; } -static int init(int flags, inode_t *inode, fs_t **out) +static int init(int flags, dirent_t *to_mount, fs_t **out) { return ramfs_create(flags, out); } diff --git a/include/fs/vfs.h b/include/fs/vfs.h index e8a2062..8003a82 100644 --- a/include/fs/vfs.h +++ b/include/fs/vfs.h @@ -55,7 +55,7 @@ struct fs_driver { char name[FILE_NAME_MAX_LEN + 1]; - int (*init)(int flags, inode_t *inode, fs_t **out); + int (*init)(int flags, dirent_t *to_mount, fs_t **out); int (*deinit)(fs_t *fs); };