mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
Kernel: Rename FS => FileSystem
This matches our common naming style better.
This commit is contained in:
parent
dd65f52331
commit
d53d9d3677
33 changed files with 108 additions and 108 deletions
|
@ -64,7 +64,7 @@ KResultOr<FlatPtr> Process::sys$mount(Userspace<const Syscall::SC_mount_params*>
|
|||
return VFS::the().bind_mount(*description->custody(), target_custody, params.flags);
|
||||
}
|
||||
|
||||
RefPtr<FS> fs;
|
||||
RefPtr<FileSystem> fs;
|
||||
|
||||
if (fs_type == "ext2" || fs_type == "Ext2FS") {
|
||||
if (description.is_null())
|
||||
|
|
|
@ -20,9 +20,9 @@ KResultOr<FlatPtr> Process::sys$reboot()
|
|||
REQUIRE_NO_PROMISES;
|
||||
|
||||
dbgln("acquiring FS locks...");
|
||||
FS::lock_all();
|
||||
FileSystem::lock_all();
|
||||
dbgln("syncing mounted filesystems...");
|
||||
FS::sync();
|
||||
FileSystem::sync();
|
||||
dbgln("attempting reboot via ACPI");
|
||||
if (ACPI::is_enabled())
|
||||
ACPI::Parser::the()->try_acpi_reboot();
|
||||
|
@ -41,9 +41,9 @@ KResultOr<FlatPtr> Process::sys$halt()
|
|||
ConsoleManagement::the().switch_to_debug();
|
||||
|
||||
dbgln("acquiring FS locks...");
|
||||
FS::lock_all();
|
||||
FileSystem::lock_all();
|
||||
dbgln("syncing mounted filesystems...");
|
||||
FS::sync();
|
||||
FileSystem::sync();
|
||||
dbgln("attempting system shutdown...");
|
||||
// QEMU Shutdown
|
||||
IO::out16(0x604, 0x2000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue