fs_init: change to dirent
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
7c7d052286
commit
0eb0f4541a
2 changed files with 2 additions and 2 deletions
|
|
@ -209,7 +209,7 @@ static ssize_t get_dents(inode_t *parent, dirent_t **dents)
|
|||
return n;
|
||||
}
|
||||
|
||||
static int init(int flags, inode_t *inode, fs_t **out)
|
||||
static int init(int flags, dirent_t *to_mount, fs_t **out)
|
||||
{
|
||||
return ramfs_create(flags, out);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
struct fs_driver {
|
||||
char name[FILE_NAME_MAX_LEN + 1];
|
||||
int (*init)(int flags, inode_t *inode, fs_t **out);
|
||||
int (*init)(int flags, dirent_t *to_mount, fs_t **out);
|
||||
int (*deinit)(fs_t *fs);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue