From bcca3ff7d0debfcc084acb4bbfaed89e20d3610d Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 14 Jul 2012 20:28:29 +0800 Subject: [PATCH] Kernel/rootfs - Fixed root not being a directory --- KernelLand/Kernel/vfs/fs/root.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1