mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
Kernel: Make Ext2FS::write_ext2_inode() return KResult
This allows us to use TRY() in more places.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 02:05:02 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/98b865fe10c
@@ -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