| 46 | unsigned long Ext2FS::flag() const { return 0; } |
| 47 | unsigned long Ext2FS::namemax() const { return 0xFF; } |
| 48 | |
| 49 | BAN::ErrorOr<BAN::RefPtr<Ext2FS>> Ext2FS::create(BAN::RefPtr<BlockDevice> block_device) |
| 50 | { |
| 51 | auto ext2fs = TRY(BAN::RefPtr<Ext2FS>::create(block_device)); |
| 52 | TRY(ext2fs->initialize_superblock()); |
| 53 | TRY(ext2fs->initialize_root_inode()); |
| 54 | return ext2fs; |
| 55 | } |
| 56 | |
| 57 | BAN::ErrorOr<void> Ext2FS::initialize_superblock() |
nothing calls this directly
no test coverage detected