mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
Revert "Kernel: Use IntrusiveList for keeping track of InodeWatchers"
This reverts commit 43d6a7e74e
.
This breaks multi-inode watchers.
This commit is contained in:
parent
687a12d7fb
commit
f9b7ea6de9
3 changed files with 14 additions and 19 deletions
|
@ -80,11 +80,6 @@ private:
|
|||
// watch description, so they will overlap.
|
||||
HashMap<int, NonnullOwnPtr<WatchDescription>> m_wd_to_watches;
|
||||
HashMap<InodeIdentifier, WatchDescription*> m_inode_to_watches;
|
||||
|
||||
IntrusiveListNode<InodeWatcher> m_list_node;
|
||||
|
||||
public:
|
||||
using List = IntrusiveList<InodeWatcher, RawPtr<InodeWatcher>, &InodeWatcher::m_list_node>;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue