git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/Ext2 - Fixed not unlocking node lock for non-cached node (e.g. root)
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Filesystems
/
InitRD
/
main.c
diff --git
a/KernelLand/Modules/Filesystems/InitRD/main.c
b/KernelLand/Modules/Filesystems/InitRD/main.c
index
3ee61ac
..
863a24a
100644
(file)
--- a/
KernelLand/Modules/Filesystems/InitRD/main.c
+++ b/
KernelLand/Modules/Filesystems/InitRD/main.c
@@
-25,7
+25,10
@@
void InitRD_DumpDir(tVFS_Node *Node, int Indent);
// === GLOBALS ===
MODULE_DEFINE(0, 0x0A, FS_InitRD, InitRD_Install, NULL);
tVFS_Driver gInitRD_FSInfo = {
// === GLOBALS ===
MODULE_DEFINE(0, 0x0A, FS_InitRD, InitRD_Install, NULL);
tVFS_Driver gInitRD_FSInfo = {
- "initrd", 0, InitRD_InitDevice, InitRD_Unmount, InitRD_GetNodeFromINode
+ .Name = "initrd",
+ .InitDevice = InitRD_InitDevice,
+ .Unmount = InitRD_Unmount,
+ .GetNodeFromINode = InitRD_GetNodeFromINode
};
tVFS_NodeType gInitRD_DirType = {
.ReadDir = InitRD_ReadDir,
};
tVFS_NodeType gInitRD_DirType = {
.ReadDir = InitRD_ReadDir,
@@
-40,7
+43,6
@@
tVFS_NodeType gInitRD_FileType = {
*/
int InitRD_Install(char **Arguments)
{
*/
int InitRD_Install(char **Arguments)
{
- Log_Notice("InitRD", "Installed");
VFS_AddDriver( &gInitRD_FSInfo );
return MODULE_ERR_OK;
VFS_AddDriver( &gInitRD_FSInfo );
return MODULE_ERR_OK;
@@
-54,7
+56,6
@@
tVFS_Node *InitRD_InitDevice(const char *Device, const char **Arguments)
#if DUMP_ON_MOUNT
InitRD_DumpDir( &gInitRD_RootNode, 0 );
#endif
#if DUMP_ON_MOUNT
InitRD_DumpDir( &gInitRD_RootNode, 0 );
#endif
- Log_Notice("InitRD", "Mounted (%i files)", giInitRD_NumFiles);
return &gInitRD_RootNode;
}
return &gInitRD_RootNode;
}
UCC
git Repository :: git.ucc.asn.au