mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 21:54:40 +03:00
Kernel: Just hang if VFS::mount_root() fails
This commit is contained in:
parent
e34ed04d1e
commit
b2df670cf5
Notes:
sideshowbarker
2024-07-19 11:10:48 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/b2df670cf59
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user