mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
Kernel/Userland: Add a halt syscall, and a shutdown binary to invoke it
This commit is contained in:
committed by
Andreas Kling
parent
9e0f7acfe5
commit
952382b413
@@ -68,3 +68,11 @@ void FS::sync()
|
||||
for (auto fs : fses)
|
||||
fs->flush_writes();
|
||||
}
|
||||
|
||||
void FS::lock_all()
|
||||
{
|
||||
for (auto& it : all_fses()) {
|
||||
it.value->m_lock.lock();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user