vfs: rethink fs_type.fs_mount

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-05 20:00:09 +02:00
commit 8c346a7018
2 changed files with 4 additions and 12 deletions

View file

@ -5,8 +5,6 @@
#include <kernel/spinlock.h>
#include <fs/inode.h>
#include <drivers/block.h>
#include <lib/rwlock.h>
#include <lib/list.h>
@ -33,7 +31,7 @@
struct fs_type {
char name[256];
dirent_t *(*fs_mount)(int flags, struct block_device *bdev);
int (*init)(int flags, inode_t *inode, fs_t **out);
int (*fs_umount)(fs_t *fs);
};