mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:48:11 +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
|
@ -16,7 +16,7 @@ public:
|
|||
TYPEDEF_DISTINCT_ORDERED_ID(u64, BlockIndex);
|
||||
|
||||
virtual ~BlockBasedFileSystem() override;
|
||||
virtual bool initialize() override;
|
||||
virtual KResult initialize() override;
|
||||
|
||||
u64 logical_block_size() const { return m_logical_block_size; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue