mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 21:55:07 +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
|
@ -822,9 +822,10 @@ InodeMetadata Plan9FSInode::metadata() const
|
|||
return metadata;
|
||||
}
|
||||
|
||||
void Plan9FSInode::flush_metadata()
|
||||
KResult Plan9FSInode::flush_metadata()
|
||||
{
|
||||
// Do nothing.
|
||||
return KSuccess;
|
||||
}
|
||||
|
||||
KResult Plan9FSInode::traverse_as_directory(Function<bool(FileSystem::DirectoryEntryView const&)> callback) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue