Kernel: StorageDevice and Ext2 "support" writing

This commit is contained in:
Bananymous
2023-03-23 12:54:59 +02:00
parent 5f6c58ffd2
commit 9b56801c3d
7 changed files with 88 additions and 3 deletions

View File

@@ -182,6 +182,7 @@ namespace Kernel
BAN::ErrorOr<Ext2::Inode> read_inode(uint32_t);
BAN::ErrorOr<BAN::Vector<uint8_t>> read_block(uint32_t);
BAN::ErrorOr<void> write_block(uint32_t, BAN::Span<const uint8_t>);
const Ext2::Superblock& superblock() const { return m_superblock; }