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:
Andreas Kling 2021-10-21 17:01:52 +02:00
commit 6f69d5204f
Notes: sideshowbarker 2024-07-18 02:05:05 +09:00
18 changed files with 28 additions and 20 deletions

View file

@ -499,8 +499,9 @@ KResultOr<NonnullRefPtr<Inode>> ISO9660Inode::lookup(StringView name)
return inode.release_nonnull();
}
void ISO9660Inode::flush_metadata()
KResult ISO9660Inode::flush_metadata()
{
return KSuccess;
}
KResultOr<size_t> ISO9660Inode::write_bytes(off_t, size_t, const UserOrKernelBuffer&, OpenFileDescription*)