mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
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:
parent
46b93174fc
commit
d30d776ca4
21 changed files with 61 additions and 58 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
virtual ~ProcFS() override;
|
||||
static RefPtr<ProcFS> create();
|
||||
|
||||
virtual bool initialize() override;
|
||||
virtual KResult initialize() override;
|
||||
virtual StringView class_name() const override { return "ProcFS"sv; }
|
||||
|
||||
virtual Inode& root_inode() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue