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

Kernel: Just hang if VFS::mount_root() fails

This commit is contained in:
Andreas Kling 2019-11-17 18:58:25 +01:00
parent e34ed04d1e
commit b2df670cf5

View file

@ -135,7 +135,10 @@ VFS* vfs;
hang();
}
vfs->mount_root(e2fs);
if (!vfs->mount_root(e2fs)) {
kprintf("VFS::mount_root failed\n");
hang();
}
dbgprintf("Load ksyms\n");
load_ksyms();