mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 20:27:35 +00:00
Kernel: Just hang if VFS::mount_root() fails
This commit is contained in:
parent
e34ed04d1e
commit
b2df670cf5
1 changed files with 4 additions and 1 deletions
|
@ -135,7 +135,10 @@ VFS* vfs;
|
||||||
hang();
|
hang();
|
||||||
}
|
}
|
||||||
|
|
||||||
vfs->mount_root(e2fs);
|
if (!vfs->mount_root(e2fs)) {
|
||||||
|
kprintf("VFS::mount_root failed\n");
|
||||||
|
hang();
|
||||||
|
}
|
||||||
|
|
||||||
dbgprintf("Load ksyms\n");
|
dbgprintf("Load ksyms\n");
|
||||||
load_ksyms();
|
load_ksyms();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue