mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +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
Notes:
sideshowbarker
2024-07-18 11:15:27 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/fd06b8b7138
2 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue