mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 10:04:59 +00:00
Kernel: Split BlockBasedFileSystem off FileBackedFileSystem
FileBackedFileSystem is one that's backed by (mounted from) a file, in other words one that has a "source" of the mount; that doesn't mean it deals in blocks. The hierarchy now becomes: * FS * ProcFS * DevPtsFS * TmpFS * FileBackedFS * (future) Plan9FS * BlockBasedFS * Ext2FS
This commit is contained in:
parent
0c72a9eda7
commit
187b785a05
7 changed files with 371 additions and 294 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <AK/Bitmap.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <Kernel/FileSystem/FileBackedFileSystem.h>
|
||||
#include <Kernel/FileSystem/BlockBasedFileSystem.h>
|
||||
#include <Kernel/FileSystem/Inode.h>
|
||||
#include <Kernel/FileSystem/ext2_fs.h>
|
||||
#include <Kernel/KBuffer.h>
|
||||
|
@ -89,7 +89,7 @@ private:
|
|||
ext2_inode m_raw_inode;
|
||||
};
|
||||
|
||||
class Ext2FS final : public FileBackedFS {
|
||||
class Ext2FS final : public BlockBasedFS {
|
||||
friend class Ext2FSInode;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue