mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
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:
parent
34d458d111
commit
1fdd39ff14
3 changed files with 13 additions and 5 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue