summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-03-06 18:39:25 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-06 23:46:36 +0100
commit36b0ecfe9e28c00f12cde7add7330c4ec8cf3339 (patch)
tree42c685c7a66bd58adcd4299c7b0773680f447064 /Kernel
parent5aa12da959a26355b7a4b30ca16fc73635044abb (diff)
downloadserenity-36b0ecfe9e28c00f12cde7add7330c4ec8cf3339.zip
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. :^)
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Process.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index 283dd57f15..70b3366efb 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -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;
}