1
Fork 0
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:
Andreas Kling 2021-07-21 21:23:39 +02:00
parent 687a12d7fb
commit f9b7ea6de9
3 changed files with 14 additions and 19 deletions

View file

@ -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>;
};
}