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
Notes: sideshowbarker 2024-07-18 11:15:27 +09:00
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 {

View file

@ -31,7 +31,7 @@ public:
virtual NonnullRefPtr<Inode> to_inode(const SysFS& sysfs_instance) const;
size_t component_index() const { return m_component_index; };
InodeIndex component_index() const { return m_component_index; };
virtual ~SystemExposedComponent() = default;
@ -40,7 +40,7 @@ protected:
private:
NonnullOwnPtr<KString> m_name;
size_t m_component_index;
InodeIndex m_component_index {};
};
class SystemExposedFolder : public SystemExposedComponent {