summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/statvfs.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/Syscalls/statvfs.cpp
parentd53d9d3677703b2e8f6a57fdc512f44a178ddee7 (diff)
downloadserenity-0d39bd04d3f1ff4347a766e12d52a5a7c101d8ad.zip
Kernel: Rename VFS => VirtualFileSystem
Diffstat (limited to 'Kernel/Syscalls/statvfs.cpp')
-rw-r--r--Kernel/Syscalls/statvfs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Syscalls/statvfs.cpp b/Kernel/Syscalls/statvfs.cpp
index 6d34369765..ce7d369d36 100644
--- a/Kernel/Syscalls/statvfs.cpp
+++ b/Kernel/Syscalls/statvfs.cpp
@@ -13,7 +13,7 @@ namespace Kernel {
KResultOr<FlatPtr> Process::do_statvfs(String path, statvfs* buf)
{
- auto custody_or_error = VFS::the().resolve_path(path, current_directory(), nullptr, 0);
+ auto custody_or_error = VirtualFileSystem::the().resolve_path(path, current_directory(), nullptr, 0);
if (custody_or_error.is_error())
return custody_or_error.error();
@@ -42,7 +42,7 @@ KResultOr<FlatPtr> Process::do_statvfs(String path, statvfs* buf)
Custody* current_custody = custody;
while (current_custody) {
- VFS::the().for_each_mount([&kernelbuf, &current_custody](auto& mount) {
+ VirtualFileSystem::the().for_each_mount([&kernelbuf, &current_custody](auto& mount) {
if (current_custody) {
if (&current_custody->inode() == &mount.guest()) {
int mountflags = mount.flags();