mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 00:58:12 +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:
parent
5aa12da959
commit
36b0ecfe9e
1 changed files with 0 additions and 2 deletions
|
@ -941,14 +941,12 @@ LockRefPtr<Thread> Process::create_kernel_thread(void (*entry)(void*), void* ent
|
||||||
|
|
||||||
void Process::OpenFileDescriptionAndFlags::clear()
|
void Process::OpenFileDescriptionAndFlags::clear()
|
||||||
{
|
{
|
||||||
// FIXME: Verify Process::m_fds_lock is locked!
|
|
||||||
m_description = nullptr;
|
m_description = nullptr;
|
||||||
m_flags = 0;
|
m_flags = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Process::OpenFileDescriptionAndFlags::set(NonnullLockRefPtr<OpenFileDescription>&& description, u32 flags)
|
void Process::OpenFileDescriptionAndFlags::set(NonnullLockRefPtr<OpenFileDescription>&& description, u32 flags)
|
||||||
{
|
{
|
||||||
// FIXME: Verify Process::m_fds_lock is locked!
|
|
||||||
m_description = move(description);
|
m_description = move(description);
|
||||||
m_flags = flags;
|
m_flags = flags;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue