summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-08-21 09:36:51 -0600
committerAndreas Kling <kling@serenityos.org>2020-08-22 10:46:24 +0200
commitf0906250a181c831508a45434b9f645ff98f33e4 (patch)
tree25c255bbdda2f72f07cbcda96d91cda6a13ba44c /Kernel/FileSystem/VirtualFileSystem.cpp
parent0e69ebbce4585dcb06fc3a5d52114f2a82d80513 (diff)
downloadserenity-f0906250a181c831508a45434b9f645ff98f33e4.zip
Kernel: Move Singleton class to AK
Diffstat (limited to 'Kernel/FileSystem/VirtualFileSystem.cpp')
-rw-r--r--Kernel/FileSystem/VirtualFileSystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/VirtualFileSystem.cpp b/Kernel/FileSystem/VirtualFileSystem.cpp
index cc0510a570..9ea1a2d5c7 100644
--- a/Kernel/FileSystem/VirtualFileSystem.cpp
+++ b/Kernel/FileSystem/VirtualFileSystem.cpp
@@ -25,6 +25,7 @@
*/
#include <AK/LexicalPath.h>
+#include <AK/Singleton.h>
#include <AK/StringBuilder.h>
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/FileSystem/Custody.h>
@@ -34,14 +35,13 @@
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/KSyms.h>
#include <Kernel/Process.h>
-#include <Kernel/Singleton.h>
#include <LibC/errno_numbers.h>
//#define VFS_DEBUG
namespace Kernel {
-static auto s_the = make_singleton<VFS>();
+static auto s_the = AK::make_singleton<VFS>();
static constexpr int symlink_recursion_limit { 5 }; // FIXME: increase?
static constexpr int root_mount_flags = MS_NODEV | MS_NOSUID | MS_RDONLY;