diff --git a/kernel/include/kernel/FS/Ext2.h b/kernel/include/kernel/FS/Ext2.h index 9e1a272b..6fde635b 100644 --- a/kernel/include/kernel/FS/Ext2.h +++ b/kernel/include/kernel/FS/Ext2.h @@ -142,7 +142,7 @@ namespace Kernel private: BAN::ErrorOr data_block_index(uint32_t); - + uint32_t index() const { return m_index; } private: @@ -185,8 +185,6 @@ namespace Kernel const Ext2::Superblock& superblock() const { return m_superblock; } - const Ext2::Inode& ext2_root_inode() const; - private: StorageDevice::Partition& m_partition; diff --git a/kernel/kernel/FS/Ext2.cpp b/kernel/kernel/FS/Ext2.cpp index c938ae95..7a415131 100644 --- a/kernel/kernel/FS/Ext2.cpp +++ b/kernel/kernel/FS/Ext2.cpp @@ -480,9 +480,4 @@ namespace Kernel return block_buffer; } - const Ext2::Inode& Ext2FS::ext2_root_inode() const - { - return reinterpret_cast(m_root_inode.ptr())->m_inode; - } - } \ No newline at end of file