Kernel: Move Partition out of StorageDevice and rename functions

This commit is contained in:
2023-03-29 13:23:01 +03:00
parent 9c7670847e
commit 1fb8c211f0
10 changed files with 51 additions and 48 deletions

View File

@@ -444,7 +444,7 @@ namespace Kernel
return index() == ext2_other.index();
}
BAN::ErrorOr<Ext2FS*> Ext2FS::create(StorageDevice::Partition& partition)
BAN::ErrorOr<Ext2FS*> Ext2FS::create(Partition& partition)
{
Ext2FS* ext2fs = new Ext2FS(partition);
if (ext2fs == nullptr)