Added size maintainence in Root_MkNod
authorJohn Hodge <[email protected]>
Fri, 25 Sep 2009 08:10:11 +0000 (16:10 +0800)
committerJohn Hodge <[email protected]>
Fri, 25 Sep 2009 08:10:11 +0000 (16:10 +0800)
Kernel/vfs/fs/root.c

index 95e308a..e035fd7 100644 (file)
@@ -106,6 +106,8 @@ int Root_MkNod(tVFS_Node *Node, char *Name, Uint Flags)
        
        prev->Next = child;
        
+       parent->Node.Size ++;
+       
        return 1;
 }
 

UCC git Repository :: git.ucc.asn.au