From 0d132ee5181fb7000a1878c5de6d4987a115e39e Mon Sep 17 00:00:00 2001 From: Bananymous Date: Mon, 10 Jul 2023 09:42:13 +0300 Subject: [PATCH] Kernel: Mark Ext2 classes final --- kernel/include/kernel/FS/Ext2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/include/kernel/FS/Ext2.h b/kernel/include/kernel/FS/Ext2.h index fb76cd46..d7bca02f 100644 --- a/kernel/include/kernel/FS/Ext2.h +++ b/kernel/include/kernel/FS/Ext2.h @@ -120,7 +120,7 @@ namespace Kernel class Ext2FS; - class Ext2Inode : public Inode + class Ext2Inode final : public Inode { public: virtual ino_t ino() const override { return m_index; }; @@ -172,7 +172,7 @@ namespace Kernel friend class BAN::RefPtr; }; - class Ext2FS : public FileSystem + class Ext2FS final : public FileSystem { public: static BAN::ErrorOr create(Partition&);