Kernel: Make Inodes use the new lock

Also remove old lock from TTY since it can just use the one Inode
already has.
This commit is contained in:
2023-12-07 13:19:12 +02:00
parent 7c25e4ce5a
commit 12474addda
3 changed files with 9 additions and 6 deletions

View File

@@ -56,8 +56,6 @@ namespace Kernel
void do_backspace();
protected:
mutable Kernel::RecursiveSpinLock m_lock;
TerminalDriver::Color m_foreground { TerminalColor::BRIGHT_WHITE };
TerminalDriver::Color m_background { TerminalColor::BLACK };
termios m_termios;