X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Modules%2FFilesystems%2FExt2%2Fext2.c;fp=Modules%2FFilesystems%2FExt2%2Fext2.c;h=7c4bf973ae16656cce01b9d14c0f3ee3dd21ad72;hb=5f2024e5977e0cca0993a20dad5ab794c94d5711;hp=ad96cc85c1bbcf628756f99b6cf295b53b582fba;hpb=e56e258bdc6345e33454ddb127b2d87c536a0f39;p=tpg%2Facess2.git diff --git a/Modules/Filesystems/Ext2/ext2.c b/Modules/Filesystems/Ext2/ext2.c index ad96cc85..7c4bf973 100644 --- a/Modules/Filesystems/Ext2/ext2.c +++ b/Modules/Filesystems/Ext2/ext2.c @@ -12,6 +12,9 @@ #include "ext2_common.h" #include +// === IMPORTS === +extern tVFS_NodeType gExt2_DirType; + // === PROTOTYPES === int Ext2_Install(char **Arguments); // Interface Functions @@ -130,10 +133,8 @@ tVFS_Node *Ext2_InitDevice(const char *Device, const char **Options) disk->RootNode.ImplPtr = disk; // Save disk pointer disk->RootNode.Size = -1; // Fill in later (on readdir) disk->RootNode.Flags = VFS_FFLAG_DIRECTORY; - - disk->RootNode.ReadDir = Ext2_ReadDir; - disk->RootNode.FindDir = Ext2_FindDir; - //disk->RootNode.Relink = Ext2_Relink; + + disk->RootNode.Type = &gExt2_DirType; // Complete root node disk->RootNode.UID = inode.i_uid;