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

@ -4,6 +4,7 @@
#include <kernel/spinlock.h>
#include <kernel/slab.h>
#include <kernel/block.h>
#include <fs/inode.h>
#include <lib/rwlock.h>
@ -55,7 +56,7 @@
struct fs_driver {
char name[FILE_NAME_MAX_LEN + 1];
int (*init)(int flags, dirent_t *to_mount, fs_t **out);
int (*init)(int flags, struct block_device *to_mount, fs_t **out);
int (*deinit)(fs_t *fs);
};