mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:32:43 +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
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling