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
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#define FS_RDONLY 0x00000001
|
||||
|
||||
struct fs_type {
|
||||
struct fs_driver {
|
||||
char name[256];
|
||||
int (*init)(int flags, inode_t *inode, fs_t **out);
|
||||
int (*fs_umount)(fs_t *fs);
|
||||
|
|
@ -57,7 +57,7 @@ struct _fs {
|
|||
};
|
||||
|
||||
void vfs_init(void);
|
||||
void vfs_register(struct fs_type *fs);
|
||||
void vfs_register(struct fs_driver *fs);
|
||||
|
||||
int vfs_open(const char *abs_path, dirent_t **out);
|
||||
void vfs_close(dirent_t *dent);
|
||||
|
|
|
|||
Loading…
Reference in a new issue