28 lines
401 B
C
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;
|
|
};
|