fs: change fs_type to fs_driver
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
7e4e70853e
commit
78517526b1
3 changed files with 5 additions and 5 deletions
|
|
@ -236,7 +236,7 @@ void ramfs_init(void)
|
|||
ramfs_inode_ops->unlink = unlink;
|
||||
ramfs_inode_ops->get_dents = get_dents;
|
||||
|
||||
struct fs_type ramfs_type = {.name = "ramfs", .init = init, .fs_umount = umount};
|
||||
struct fs_driver ramfs_type = {.name = "ramfs", .init = init, .fs_umount = umount};
|
||||
|
||||
vfs_register(&ramfs_type);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -252,9 +252,9 @@ int vfs_mount(const char *mount_point, fs_t *fs_to_mount)
|
|||
return -ENOSYS;
|
||||
}
|
||||
|
||||
void vfs_register(struct fs_type *fs)
|
||||
void vfs_register(struct fs_driver *fs)
|
||||
{
|
||||
struct fs_type *ins = kalloc(sizeof(*fs), ALLOC_KERN);
|
||||
struct fs_driver *ins = kalloc(sizeof(*fs), ALLOC_KERN);
|
||||
if (!ins)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue