mirror of
https://github.com/RGBCube/serenity
synced 2025-07-04 18:17:36 +00:00
Kernel: ProcFS and SysFS component indices should be InodeIndex
This fixes the x86_64 kernel build. :^)
This commit is contained in:
parent
1e5e02c70b
commit
fd06b8b713
2 changed files with 4 additions and 4 deletions
|
@ -79,7 +79,7 @@ public:
|
||||||
|
|
||||||
virtual NonnullRefPtr<Inode> to_inode(const ProcFS& procfs_instance) const;
|
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;
|
virtual ~ProcFSExposedComponent() = default;
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
OwnPtr<KString> m_name;
|
OwnPtr<KString> m_name;
|
||||||
size_t m_component_index;
|
InodeIndex m_component_index {};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ProcFSExposedFolder : public ProcFSExposedComponent {
|
class ProcFSExposedFolder : public ProcFSExposedComponent {
|
||||||
|
|
|
@ -31,7 +31,7 @@ public:
|
||||||
|
|
||||||
virtual NonnullRefPtr<Inode> to_inode(const SysFS& sysfs_instance) const;
|
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;
|
virtual ~SystemExposedComponent() = default;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NonnullOwnPtr<KString> m_name;
|
NonnullOwnPtr<KString> m_name;
|
||||||
size_t m_component_index;
|
InodeIndex m_component_index {};
|
||||||
};
|
};
|
||||||
|
|
||||||
class SystemExposedFolder : public SystemExposedComponent {
|
class SystemExposedFolder : public SystemExposedComponent {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue