X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FExt2%2Fext2_common.h;h=d4cdec913effee92876b3e106e78b2fd44bc6d0f;hb=45ff232a1db704623e0c4baed011d12cbd44b06e;hp=b4c9547a0a88c9c9039ddba7f88f4abd37ecc46f;hpb=015f48988e0ff398409d71dfc692005ab439490a;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/Ext2/ext2_common.h b/KernelLand/Modules/Filesystems/Ext2/ext2_common.h index b4c9547a..d4cdec91 100644 --- a/KernelLand/Modules/Filesystems/Ext2/ext2_common.h +++ b/KernelLand/Modules/Filesystems/Ext2/ext2_common.h @@ -13,8 +13,9 @@ // === STRUCTURES === typedef struct { int FD; - int CacheID; + tInodeCache *CacheID; tVFS_Node RootNode; + tExt2_Inode RootInode; tExt2_SuperBlock SuperBlock; Uint BlockSize; @@ -49,6 +50,6 @@ extern size_t Ext2_Read(tVFS_Node *node, off_t offset, size_t length, void *buff extern size_t Ext2_Write(tVFS_Node *node, off_t offset, size_t length, const void *buffer, Uint Flags); extern Uint32 Ext2_int_AllocateBlock(tExt2_Disk *Disk, Uint32 LastBlock); extern void Ext2_int_DeallocateBlock(tExt2_Disk *Disk, Uint32 Block); -extern int Ext2_int_AppendBlock(tExt2_Disk *Disk, tExt2_Inode *Inode, Uint32 Block); +extern int Ext2_int_AppendBlock(tVFS_Node *Node, tExt2_Inode *Inode, Uint32 Block); #endif