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
Kernel/VTerm - Minor cleanup to VT input (remove logging)
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
vfs
/
main.c
diff --git
a/KernelLand/Kernel/vfs/main.c
b/KernelLand/Kernel/vfs/main.c
index
fb1da89
..
4ed7829
100644
(file)
--- a/
KernelLand/Kernel/vfs/main.c
+++ b/
KernelLand/Kernel/vfs/main.c
@@
-59,9
+59,10
@@
int VFS_Init(void)
VFS_MkDir("/Devices");
VFS_MkDir("/Mount");
VFS_Mount("dev", "/Devices", "devfs", "");
VFS_MkDir("/Devices");
VFS_MkDir("/Mount");
VFS_Mount("dev", "/Devices", "devfs", "");
-
- Log_Debug("VFS", "Setting max files");
- *Threads_GetMaxFD() = 32;
+
+ // Set default max user file count
+ // - Applies to PID0, but propagated to all children
+ *Threads_GetMaxFD(NULL) = 32;
return 0;
}
return 0;
}
@@
-172,3
+173,9
@@
void VFS_UpdateDriverFile(void)
if(gsVFS_DriverFile) free(gsVFS_DriverFile);
gsVFS_DriverFile = buf;
}
if(gsVFS_DriverFile) free(gsVFS_DriverFile);
gsVFS_DriverFile = buf;
}
+
+void VFS_CleanupNode(tVFS_Node *Node)
+{
+
+}
+
UCC
git Repository :: git.ucc.asn.au