Kernel: Rename VFS => VirtualFileSystem

This commit is contained in:
Andreas Kling 2021-07-11 00:25:24 +02:00
commit 0d39bd04d3
Notes: sideshowbarker 2024-07-18 09:22:16 +09:00
38 changed files with 124 additions and 124 deletions

View file

@ -22,7 +22,7 @@ KResultOr<FlatPtr> Process::sys$rename(Userspace<const Syscall::SC_rename_params
auto new_path = get_syscall_path_argument(params.new_path);
if (new_path.is_error())
return new_path.error();
return VFS::the().rename(old_path.value()->view(), new_path.value()->view(), current_directory());
return VirtualFileSystem::the().rename(old_path.value()->view(), new_path.value()->view(), current_directory());
}
}