Kernel: Move Partition out of StorageDevice and rename functions

This commit is contained in:
Bananymous
2023-03-29 13:23:01 +03:00
parent 9c7670847e
commit 1fb8c211f0
10 changed files with 51 additions and 48 deletions

View File

@@ -76,7 +76,7 @@ namespace Kernel::Input
virtual BAN::ErrorOr<size_t> read(size_t, void*, size_t) override;
virtual BAN::ErrorOr<void> create_file(BAN::StringView, mode_t) override { return BAN::Error::from_errno(ENOTDIR); }
virtual Type type() const override { return Type::Device; }
virtual InodeType type() const override { return InodeType::Device; }
virtual bool operator==(const Inode&) const override { return false; }
protected: