tVFS_Node RootNode;
tExt2_SuperBlock SuperBlock;
- int BlockSize;
+ Uint BlockSize;
int GroupCount;
tExt2_Group Groups[];
extern int Ext2_int_WriteInode(tExt2_Disk *Disk, Uint32 InodeId, tExt2_Inode *Inode);
// --- Dir ---
extern char *Ext2_ReadDir(tVFS_Node *Node, int Pos);
-extern tVFS_Node *Ext2_FindDir(tVFS_Node *Node, char *FileName);
-extern int Ext2_MkNod(tVFS_Node *Node, char *Name, Uint Flags);
+extern tVFS_Node *Ext2_FindDir(tVFS_Node *Node, const char *FileName);
+extern int Ext2_MkNod(tVFS_Node *Node, const char *Name, Uint Flags);
+extern int Ext2_Link(tVFS_Node *Parent, tVFS_Node *Node, const char *Name);
// --- Read ---
extern Uint64 Ext2_Read(tVFS_Node *node, Uint64 offset, Uint64 length, void *buffer);
// --- Write ---