fs_init: change to_mount to block_device

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

View file

@ -210,7 +210,7 @@ static ssize_t get_dents(inode_t *parent, dirent_t **dents)
return n;
}
static int init(int flags, dirent_t *to_mount, fs_t **out)
static int init(int flags, struct block_device *to_mount, fs_t **out)
{
return ramfs_create(flags, out);
}