diff options
author | Tom <tomut@yahoo.com> | 2020-08-21 09:36:51 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-22 10:46:24 +0200 |
commit | f0906250a181c831508a45434b9f645ff98f33e4 (patch) | |
tree | 25c255bbdda2f72f07cbcda96d91cda6a13ba44c /Kernel/FileSystem/VirtualFileSystem.cpp | |
parent | 0e69ebbce4585dcb06fc3a5d52114f2a82d80513 (diff) | |
download | serenity-f0906250a181c831508a45434b9f645ff98f33e4.zip |
Kernel: Move Singleton class to AK
Diffstat (limited to 'Kernel/FileSystem/VirtualFileSystem.cpp')
-rw-r--r-- | Kernel/FileSystem/VirtualFileSystem.cpp | 4 |
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; |