mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-11 23:39:17 +00:00
fix(kernel/vfs): support multiple roots
This commit is contained in:
@ -131,6 +131,7 @@ namespace vfs
|
||||
public:
|
||||
dev_t DeviceID = -1;
|
||||
ino_t NextInode = 0;
|
||||
std::string RootName;
|
||||
|
||||
int Lookup(struct Inode *Parent, const char *Name, struct Inode **Result);
|
||||
int Create(struct Inode *Parent, const char *Name, mode_t Mode, struct Inode **Result);
|
||||
@ -146,4 +147,4 @@ namespace vfs
|
||||
};
|
||||
}
|
||||
|
||||
bool MountRAMFS(Inode *Parent, const char *Name, size_t Index);
|
||||
bool MountRAMFS(FileNode *Parent, const char *Name, size_t Index);
|
||||
|
Reference in New Issue
Block a user