From 43d6a7e74ec76bf23f78ca281d54c60bb7b952d1 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 21 Jul 2021 20:09:57 +0200 Subject: Kernel: Use IntrusiveList for keeping track of InodeWatchers --- Kernel/FileSystem/InodeWatcher.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Kernel/FileSystem/InodeWatcher.h') diff --git a/Kernel/FileSystem/InodeWatcher.h b/Kernel/FileSystem/InodeWatcher.h index e7dca21499..6fe43e7473 100644 --- a/Kernel/FileSystem/InodeWatcher.h +++ b/Kernel/FileSystem/InodeWatcher.h @@ -80,6 +80,11 @@ private: // watch description, so they will overlap. HashMap> m_wd_to_watches; HashMap m_inode_to_watches; + + IntrusiveListNode m_list_node; + +public: + using List = IntrusiveList, &InodeWatcher::m_list_node>; }; } -- cgit v1.2.3