Kernel/rootfs - Fixed root not being a directory
authorJohn Hodge <[email protected]>
Sat, 14 Jul 2012 12:28:29 +0000 (20:28 +0800)
committerJohn Hodge <[email protected]>
Sat, 14 Jul 2012 12:28:29 +0000 (20:28 +0800)
KernelLand/Kernel/vfs/fs/root.c

index 6c45f40..5da13fa 100644 (file)
@@ -71,6 +71,7 @@ tVFS_Node *Root_InitDevice(const char *Device, const char **Options)
        root->Node.NumACLs = 3;
        root->Node.ACLs = RootFS_DirACLs;
 
+       root->Node.Flags = VFS_FFLAG_DIRECTORY;
        root->Node.Type = &gRootFS_DirType;
        
        return &root->Node;

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