1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-03 05:22:08 +00:00

Kernel: ProcFS and SysFS component indices should be InodeIndex

This fixes the x86_64 kernel build. :^)
This commit is contained in:
Andreas Kling 2021-06-29 23:07:02 +02:00
parent 1e5e02c70b
commit fd06b8b713
2 changed files with 4 additions and 4 deletions

View file

@ -79,7 +79,7 @@ public:
virtual NonnullRefPtr<Inode> to_inode(const ProcFS& procfs_instance) const;
size_t component_index() const { return m_component_index; };
InodeIndex component_index() const { return m_component_index; };
virtual ~ProcFSExposedComponent() = default;
@ -89,7 +89,7 @@ protected:
private:
OwnPtr<KString> m_name;
size_t m_component_index;
InodeIndex m_component_index {};
};
class ProcFSExposedFolder : public ProcFSExposedComponent {