X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=KernelLand%2FModules%2FFilesystems%2FExt2%2Fext2_common.h;h=b4c9547a0a88c9c9039ddba7f88f4abd37ecc46f;hb=015f48988e0ff398409d71dfc692005ab439490a;hp=4c8c45e212906e69da04b3d1117d5371c7e7e2bb;hpb=4d184c30a3385600c0d87a2f93b4259c8c973e73;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/Ext2/ext2_common.h b/KernelLand/Modules/Filesystems/Ext2/ext2_common.h index 4c8c45e2..b4c9547a 100644 --- a/KernelLand/Modules/Filesystems/Ext2/ext2_common.h +++ b/KernelLand/Modules/Filesystems/Ext2/ext2_common.h @@ -38,15 +38,15 @@ extern int Ext2_int_ReadInode(tExt2_Disk *Disk, Uint32 InodeId, tExt2_Inode *Ino extern int Ext2_int_WriteInode(tExt2_Disk *Disk, Uint32 InodeId, tExt2_Inode *Inode); // --- Dir --- extern int Ext2_ReadDir(tVFS_Node *Node, int Pos, char Dest[FILENAME_MAX]); -extern tVFS_Node *Ext2_FindDir(tVFS_Node *Node, const char *FileName); -extern tVFS_Node *Ext2_MkNod(tVFS_Node *Node, const char *Name, Uint Flags); +extern tVFS_Node *Ext2_FindDir(tVFS_Node *Node, const char *FileName, Uint Flags); +extern tVFS_Node *Ext2_MkNod(tVFS_Node *Node, const char *Name, Uint Mode); extern int Ext2_Link(tVFS_Node *Parent, const char *Name, tVFS_Node *Node); extern tVFS_Node *Ext2_int_CreateNode(tExt2_Disk *Disk, Uint InodeId); extern int Ext2_int_WritebackNode(tExt2_Disk *Disk, tVFS_Node *Node); // --- Read --- -extern size_t Ext2_Read(tVFS_Node *node, off_t offset, size_t length, void *buffer); +extern size_t Ext2_Read(tVFS_Node *node, off_t offset, size_t length, void *buffer, Uint Flags); // --- Write --- -extern size_t Ext2_Write(tVFS_Node *node, off_t offset, size_t length, const void *buffer); +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);