Kernel: Remove obsolete Ext2FS::ext2_root_inode()
This was not used by anyone and the cast was wrong anyway
This commit is contained in:
		
							parent
							
								
									633055293e
								
							
						
					
					
						commit
						b21348379f
					
				| 
						 | 
					@ -185,8 +185,6 @@ namespace Kernel
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		const Ext2::Superblock& superblock() const { return m_superblock; }
 | 
							const Ext2::Superblock& superblock() const { return m_superblock; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		const Ext2::Inode& ext2_root_inode() const;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	private:
 | 
						private:
 | 
				
			||||||
		StorageDevice::Partition& m_partition;
 | 
							StorageDevice::Partition& m_partition;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -480,9 +480,4 @@ namespace Kernel
 | 
				
			||||||
		return block_buffer;
 | 
							return block_buffer;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const Ext2::Inode& Ext2FS::ext2_root_inode() const
 | 
					 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
		return reinterpret_cast<const Ext2Inode*>(m_root_inode.ptr())->m_inode;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue