mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:18:12 +00:00
Kernel: Rename VFS => VirtualFileSystem
This commit is contained in:
parent
d53d9d3677
commit
0d39bd04d3
38 changed files with 124 additions and 124 deletions
|
@ -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, ¤t_custody](auto& mount) {
|
||||
VirtualFileSystem::the().for_each_mount([&kernelbuf, ¤t_custody](auto& mount) {
|
||||
if (current_custody) {
|
||||
if (¤t_custody->inode() == &mount.guest()) {
|
||||
int mountflags = mount.flags();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue