1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:07:45 +00:00

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
parent 62719b85e0
commit 0de8c95d49
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;