fs_init: change to dirent

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-12 10:39:35 -04:00
commit 0eb0f4541a
2 changed files with 2 additions and 2 deletions

View file

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

View file

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