diff --git a/kernel/src/fs/tmpfs/FileSystem.cpp b/kernel/src/fs/tmpfs/FileSystem.cpp index eefac905..14010ee7 100644 --- a/kernel/src/fs/tmpfs/FileSystem.cpp +++ b/kernel/src/fs/tmpfs/FileSystem.cpp @@ -13,7 +13,7 @@ namespace TmpFS Result> FileSystem::create_file_inode() { - SharedPtr inode = TRY(make_shared()); + SharedPtr inode = TRY(make_shared()); inode->set_fs(*this, {}); inode->set_inode_number(m_next_inode_number, {}); TRY(m_inodes.try_append(inode)); diff --git a/kernel/src/fs/tmpfs/FileSystem.h b/kernel/src/fs/tmpfs/FileSystem.h index b92a5072..070a6e51 100644 --- a/kernel/src/fs/tmpfs/FileSystem.h +++ b/kernel/src/fs/tmpfs/FileSystem.h @@ -31,10 +31,10 @@ namespace TmpFS Atomic m_next_inode_number { 2 }; }; - class Inode : public VFS::FileInode + class FileInode : public VFS::FileInode { public: - Inode() = default; + FileInode() = default; void set_fs(FileSystem& fs, Badge) { @@ -56,7 +56,7 @@ namespace TmpFS return m_inode_number; } - virtual ~Inode() = default; + virtual ~FileInode() = default; private: VFS::FileSystem* m_fs;