1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00

Kernel: Make FileSystem::class_name() return a StringView

This commit is contained in:
Andreas Kling 2021-07-17 20:59:06 +02:00
parent a2e734d202
commit a803c4026c
9 changed files with 8 additions and 13 deletions

View file

@ -128,7 +128,7 @@ private:
bool flush_super_block();
virtual const char* class_name() const override;
virtual StringView class_name() const override { return "Ext2FS"sv; }
virtual NonnullRefPtr<Inode> root_inode() const override;
RefPtr<Inode> get_inode(InodeIdentifier) const;
KResultOr<NonnullRefPtr<Inode>> create_inode(Ext2FSInode& parent_inode, const String& name, mode_t, dev_t, uid_t, gid_t);