1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:58:13 +00:00

A pass of style/naming cleanup in VFS.

This commit is contained in:
Andreas Kling 2018-11-15 15:10:12 +01:00
parent 457a5df7d5
commit 396a32835b
12 changed files with 120 additions and 120 deletions

View file

@ -22,23 +22,23 @@ int main(int c, char** v)
if (c >= 2)
filename = v[1];
VFS::initializeGlobals();
VFS::initialize_globals();
VFS vfs;
auto zero = make<ZeroDevice>();
vfs.registerCharacterDevice(*zero);
vfs.register_character_device(*zero);
auto null = make<NullDevice>();
vfs.registerCharacterDevice(*null);
vfs.register_character_device(*null);
auto full = make<FullDevice>();
vfs.registerCharacterDevice(*full);
vfs.register_character_device(*full);
auto random = make<RandomDevice>();
vfs.registerCharacterDevice(*random);
vfs.register_character_device(*random);
if (!vfs.mountRoot(makeFileSystem(filename))) {
if (!vfs.mount_root(makeFileSystem(filename))) {
printf("Failed to mount root :(\n");
return 1;
}