From: John Hodge Date: Fri, 25 Sep 2009 08:10:11 +0000 (+0800) Subject: Added size maintainence in Root_MkNod X-Git-Tag: rel0.06~509 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4d166a859db826e94382e6222d5aa4d14ef1d3be;p=tpg%2Facess2.git Added size maintainence in Root_MkNod --- 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; }