mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
Kernel: Remove two outdated FIXMEs about the file descriptor table mutex
These functions cannot be called without already holding the relevant mutex these days, since m_fds is a MutexProtected object. :^)
This commit is contained in:
@@ -941,14 +941,12 @@ LockRefPtr<Thread> Process::create_kernel_thread(void (*entry)(void*), void* ent
|
||||
|
||||
void Process::OpenFileDescriptionAndFlags::clear()
|
||||
{
|
||||
// FIXME: Verify Process::m_fds_lock is locked!
|
||||
m_description = nullptr;
|
||||
m_flags = 0;
|
||||
}
|
||||
|
||||
void Process::OpenFileDescriptionAndFlags::set(NonnullLockRefPtr<OpenFileDescription>&& description, u32 flags)
|
||||
{
|
||||
// FIXME: Verify Process::m_fds_lock is locked!
|
||||
m_description = move(description);
|
||||
m_flags = flags;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user