1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

Kernel: Make Ext2FS::write_ext2_inode() return KResult

This allows us to use TRY() in more places.
This commit is contained in:
Andreas Kling 2021-10-21 17:03:50 +02:00
parent 6f69d5204f
commit 98b865fe10
2 changed files with 8 additions and 12 deletions

View file

@ -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();