mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-06 13:35:03 +00:00
Kernel: Make Ext2FS::write_ext2_inode() return KResult
This allows us to use TRY() in more places.
This commit is contained in:
@@ -122,7 +122,7 @@ private:
|
||||
u64 blocks_per_group() const;
|
||||
u64 inode_size() const;
|
||||
|
||||
bool write_ext2_inode(InodeIndex, const ext2_inode&);
|
||||
KResult write_ext2_inode(InodeIndex, ext2_inode const&);
|
||||
bool find_block_containing_inode(InodeIndex, BlockIndex& block_index, unsigned& offset) const;
|
||||
|
||||
bool flush_super_block();
|
||||
|
||||
Reference in New Issue
Block a user