matos/core/fs.c
Mathieu Maret dff2cce035 wip
2024-07-30 14:59:00 +02:00

28 lines
401 B
C

#include "fs.h"
#include "list.h"
#include "stddef.h"
// List of all fs supported (e.g. EXT4, FAT32 ...)
struct file_system *fsList = NULL;
int fsRegister(struct file_system *fs){
list_add_tail(fsList, fs);
return 0;
}
int fsInodeUnref(struct inode *inode)
{
//TODO
(void)inode;
return 0;
};
int fsInodeRef(struct inode *inode)
{
//TODO
(void)inode;
return 0;
};