From 4d166a859db826e94382e6222d5aa4d14ef1d3be Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 25 Sep 2009 16:10:11 +0800 Subject: [PATCH] Added size maintainence in Root_MkNod --- Kernel/vfs/fs/root.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/vfs/fs/root.c b/Kernel/vfs/fs/root.c index 95e308ae..e035fd7b 100644 --- a/Kernel/vfs/fs/root.c +++ b/Kernel/vfs/fs/root.c @@ -106,6 +106,8 @@ int Root_MkNod(tVFS_Node *Node, char *Name, Uint Flags) prev->Next = child; + parent->Node.Size ++; + return 1; } -- 2.20.1