summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/TmpFS.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-14 14:02:47 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-14 15:19:00 +0200
commitd30d776ca46b12d7f4f9b5b7bdbfb247813a94af (patch)
tree396e08592d2c733fa1414314a1a63f031bd8686e /Kernel/FileSystem/TmpFS.h
parent46b93174fce7ec46f45529f83672ccdac9dd6079 (diff)
downloadserenity-d30d776ca46b12d7f4f9b5b7bdbfb247813a94af.zip
Kernel: Make FileSystem::initialize() return KResult
This forced me to also come up with error codes for a bunch of situations where we'd previously just panic the kernel.
Diffstat (limited to 'Kernel/FileSystem/TmpFS.h')
-rw-r--r--Kernel/FileSystem/TmpFS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/TmpFS.h b/Kernel/FileSystem/TmpFS.h
index 9aa96aea18..611a59d293 100644
--- a/Kernel/FileSystem/TmpFS.h
+++ b/Kernel/FileSystem/TmpFS.h
@@ -20,7 +20,7 @@ class TmpFS final : public FileSystem {
public:
virtual ~TmpFS() override;
static RefPtr<TmpFS> create();
- virtual bool initialize() override;
+ virtual KResult initialize() override;
virtual StringView class_name() const override { return "TmpFS"sv; }