mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
Kernel: Make Inode::flush_metadata() return a KResult
Even if this goes nowhere yet, we have to start building an error propagation path somewhere.
This commit is contained in:
parent
6337d742bb
commit
6f69d5204f
18 changed files with 28 additions and 20 deletions
|
@ -56,7 +56,7 @@ protected:
|
|||
// ^Inode
|
||||
virtual KResult attach(OpenFileDescription& description) = 0;
|
||||
virtual void did_seek(OpenFileDescription&, off_t) = 0;
|
||||
virtual void flush_metadata() override final;
|
||||
virtual KResult flush_metadata() override final;
|
||||
virtual KResultOr<NonnullRefPtr<Inode>> create_child(StringView name, mode_t, dev_t, UserID, GroupID) override final;
|
||||
virtual KResult add_child(Inode&, const StringView& name, mode_t) override final;
|
||||
virtual KResult remove_child(const StringView& name) override final;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue