summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/Ext2FileSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/Ext2FileSystem.h')
-rw-r--r--Kernel/FileSystem/Ext2FileSystem.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Kernel/FileSystem/Ext2FileSystem.h b/Kernel/FileSystem/Ext2FileSystem.h
index 526d40db87..ac69be96bc 100644
--- a/Kernel/FileSystem/Ext2FileSystem.h
+++ b/Kernel/FileSystem/Ext2FileSystem.h
@@ -28,7 +28,7 @@
#include <AK/Bitmap.h>
#include <AK/HashMap.h>
-#include <Kernel/FileSystem/DiskBackedFileSystem.h>
+#include <Kernel/FileSystem/FileBackedFileSystem.h>
#include <Kernel/FileSystem/Inode.h>
#include <Kernel/FileSystem/ext2_fs.h>
#include <Kernel/KBuffer.h>
@@ -88,11 +88,12 @@ private:
ext2_inode m_raw_inode;
};
-class Ext2FS final : public DiskBackedFS {
+class Ext2FS final : public FileBackedFS {
friend class Ext2FSInode;
public:
- static NonnullRefPtr<Ext2FS> create(BlockDevice&);
+ static NonnullRefPtr<Ext2FS> create(FileDescription&);
+
virtual ~Ext2FS() override;
virtual bool initialize() override;
@@ -109,7 +110,7 @@ private:
typedef unsigned BlockIndex;
typedef unsigned GroupIndex;
typedef unsigned InodeIndex;
- explicit Ext2FS(BlockDevice&);
+ explicit Ext2FS(FileDescription&);
const ext2_super_block& super_block() const { return m_super_block; }
const ext2_group_desc& group_descriptor(GroupIndex) const;