summaryrefslogtreecommitdiff
path: root/Kernel/Process.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-11 00:25:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-11 00:25:24 +0200
commit0d39bd04d3f1ff4347a766e12d52a5a7c101d8ad (patch)
tree0e0cde2972ec2f4897b06942f076ca374c8c7110 /Kernel/Process.cpp
parentd53d9d3677703b2e8f6a57fdc512f44a178ddee7 (diff)
downloadserenity-0d39bd04d3f1ff4347a766e12d52a5a7c101d8ad.zip
Kernel: Rename VFS => VirtualFileSystem
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r--Kernel/Process.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index b7c5c7808a..59ee2b207c 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -153,7 +153,7 @@ RefPtr<Process> Process::create_user_process(RefPtr<Thread>& first_thread, const
}
if (!cwd)
- cwd = VFS::the().root_custody();
+ cwd = VirtualFileSystem::the().root_custody();
auto process = Process::create(first_thread, parts.take_last(), uid, gid, parent_pid, false, move(cwd), nullptr, tty);
if (!first_thread)
@@ -488,7 +488,7 @@ siginfo_t Process::wait_info()
Custody& Process::current_directory()
{
if (!m_cwd)
- m_cwd = VFS::the().root_custody();
+ m_cwd = VirtualFileSystem::the().root_custody();
return *m_cwd;
}
@@ -526,7 +526,7 @@ bool Process::dump_perfcore()
VERIFY(is_dumpable());
VERIFY(m_perf_event_buffer);
dbgln("Generating perfcore for pid: {}", pid().value());
- auto description_or_error = VFS::the().open(String::formatted("perfcore.{}", pid().value()), O_CREAT | O_EXCL, 0400, current_directory(), UidAndGid { uid(), gid() });
+ auto description_or_error = VirtualFileSystem::the().open(String::formatted("perfcore.{}", pid().value()), O_CREAT | O_EXCL, 0400, current_directory(), UidAndGid { uid(), gid() });
if (description_or_error.is_error())
return false;
auto& description = description_or_error.value();
@@ -742,7 +742,7 @@ void Process::FileDescriptionAndFlags::set(NonnullRefPtr<FileDescription>&& desc
Custody& Process::root_directory()
{
if (!m_root_directory)
- m_root_directory = VFS::the().root_custody();
+ m_root_directory = VirtualFileSystem::the().root_custody();
return *m_root_directory;
}