From d30d776ca46b12d7f4f9b5b7bdbfb247813a94af Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 14 Aug 2021 14:02:47 +0200 Subject: 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. --- Kernel/FileSystem/TmpFS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/FileSystem/TmpFS.h') 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 create(); - virtual bool initialize() override; + virtual KResult initialize() override; virtual StringView class_name() const override { return "TmpFS"sv; } -- cgit v1.2.3