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:
Andreas Kling 2023-03-06 18:39:25 +01:00
parent 5aa12da959
commit 36b0ecfe9e
Notes: sideshowbarker 2024-07-17 10:10:18 +09:00

View File

@ -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;
}