mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +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:
@@ -92,7 +92,7 @@ public:
|
||||
static NonnullRefPtr<Ext2FS> create(FileDescription&);
|
||||
|
||||
virtual ~Ext2FS() override;
|
||||
virtual bool initialize() override;
|
||||
virtual KResult initialize() override;
|
||||
|
||||
virtual unsigned total_block_count() const override;
|
||||
virtual unsigned free_block_count() const override;
|
||||
|
||||
Reference in New Issue
Block a user