vfs: rethink fs_type.fs_mount
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
0c29f0e517
commit
8c346a7018
2 changed files with 4 additions and 12 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue