Kernel: Convert SlavePTY all-instances HashTable to an IntrusiveList

This simplifies the DevPtsFS implementation somewhat, as it no longer
requires SlavePTY to register itself with it, since it can now simply
use the list of SlavePTY instances.
This commit is contained in:
Andreas Kling 2021-08-16 22:13:58 +02:00
commit 0de8c95d49
Notes: sideshowbarker 2024-07-18 05:35:49 +09:00
4 changed files with 53 additions and 33 deletions

View file

@ -27,9 +27,6 @@ public:
virtual Inode& root_inode() override;
static void register_slave_pty(SlavePTY&);
static void unregister_slave_pty(SlavePTY&);
private:
DevPtsFS();
RefPtr<Inode> get_inode(InodeIdentifier) const;