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

Kernel: Port mounts to reference inodes directly

...instead of going through their identifiers. See the previous commit for
reasoning.
This commit is contained in:
Sergey Bugaev 2020-06-25 00:16:24 +03:00 committed by Andreas Kling
parent df66c28479
commit 6efbbcd4ba
9 changed files with 64 additions and 45 deletions

View file

@ -46,13 +46,13 @@ public:
virtual const char* class_name() const override { return "DevPtsFS"; }
virtual NonnullRefPtr<Inode> root_inode() const override;
virtual RefPtr<Inode> get_inode(InodeIdentifier) const override;
static void register_slave_pty(SlavePTY&);
static void unregister_slave_pty(SlavePTY&);
private:
DevPtsFS();
RefPtr<Inode> get_inode(InodeIdentifier) const;
RefPtr<DevPtsFSInode> m_root_inode;
};