[VictoriaFallS] Refactor Ext2Driver to share inode reading code.
This commit is contained in:
parent
5eb72da9c8
commit
d74918409c
2 changed files with 23 additions and 29 deletions
|
|
@ -28,4 +28,6 @@ class Ext2Driver {
|
|||
Ext2Driver(const glcr::SharedPtr<Ext2BlockReader>& reader,
|
||||
glcr::UniquePtr<InodeTable> inode_table)
|
||||
: ext2_reader_(reader), inode_table_(glcr::Move(inode_table)) {}
|
||||
|
||||
glcr::ErrorOr<mmth::OwnedMemoryRegion> ReadInode(Inode* inode);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue