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:
parent
6f69d5204f
commit
98b865fe10
2 changed files with 8 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue