Kernel: Sprinkle some lockers in Inode

It did look pretty suspicious the way we were accessing members in some
of these functions without taking the lock first.
This commit is contained in:
Andreas Kling 2020-12-31 02:10:31 +01:00
commit 1fdd39ff14
Notes: sideshowbarker 2024-07-19 00:19:21 +09:00
3 changed files with 13 additions and 5 deletions

View file

@ -113,7 +113,7 @@ public:
void register_watcher(Badge<InodeWatcher>, InodeWatcher&);
void unregister_watcher(Badge<InodeWatcher>, InodeWatcher&);
FIFO& fifo();
NonnullRefPtr<FIFO> fifo();
// For InlineLinkedListNode.
Inode* m_next { nullptr };