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); };