From: John Hodge Date: Sat, 14 Jul 2012 12:28:29 +0000 (+0800) Subject: Kernel/rootfs - Fixed root not being a directory X-Git-Tag: rel0.15~611^2~25^2~7 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=bcca3ff7d0debfcc084acb4bbfaed89e20d3610d;p=tpg%2Facess2.git Kernel/rootfs - Fixed root not being a directory --- diff --git a/KernelLand/Kernel/vfs/fs/root.c b/KernelLand/Kernel/vfs/fs/root.c index 6c45f40e..5da13fa6 100644 --- a/KernelLand/Kernel/vfs/fs/root.c +++ b/KernelLand/Kernel/vfs/fs/root.c @@ -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;