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.
This commit is contained in:
Andreas Kling 2021-08-14 14:02:47 +02:00
commit d30d776ca4
Notes: sideshowbarker 2024-07-18 06:57:23 +09:00
21 changed files with 61 additions and 58 deletions

View file

@ -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; }