fs_init: change to_mount to block_device
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
d2c698ac0a
commit
07ea385f96
8 changed files with 73 additions and 2 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue