forked from Bananymous/banan-os
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
|
@ -142,7 +142,7 @@ namespace Kernel
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BAN::ErrorOr<uint32_t> data_block_index(uint32_t);
|
BAN::ErrorOr<uint32_t> data_block_index(uint32_t);
|
||||||
|
|
||||||
uint32_t index() const { return m_index; }
|
uint32_t index() const { return m_index; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -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