summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/ProcFS.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-21 17:01:52 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-21 23:23:23 +0200
commit6f69d5204fecf151ca0c4a1c0ca904c13ae8d095 (patch)
tree6faa78b40930a8c71d1d6dd680bb2c3a4fd8a8a6 /Kernel/FileSystem/ProcFS.h
parent6337d742bbe1d0a97a7c5cf73d24ca1d1cc2adbf (diff)
downloadserenity-6f69d5204fecf151ca0c4a1c0ca904c13ae8d095.zip
Kernel: Make Inode::flush_metadata() return a KResult
Even if this goes nowhere yet, we have to start building an error propagation path somewhere.
Diffstat (limited to 'Kernel/FileSystem/ProcFS.h')
-rw-r--r--Kernel/FileSystem/ProcFS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/ProcFS.h b/Kernel/FileSystem/ProcFS.h
index 966cfd55a4..abd525ea5b 100644
--- a/Kernel/FileSystem/ProcFS.h
+++ b/Kernel/FileSystem/ProcFS.h
@@ -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;