1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 20:15:07 +00:00

Revert "Kernel: Change Ext2FS to be backed by a file instead of a block device"

This reverts commit 6b59311d4b.

Reverting these changes since they broke things.
Fixes #1608.
This commit is contained in:
Andreas Kling 2020-04-03 21:20:51 +02:00
parent 9ae3cced76
commit c2a8bbcb59
10 changed files with 90 additions and 116 deletions

View file

@ -292,7 +292,7 @@ void init_stage2()
}
}
}
auto e2fs = Ext2FS::create(*FileDescription::create(root_dev));
auto e2fs = Ext2FS::create(root_dev);
if (!e2fs->initialize()) {
klog() << "init_stage2: couldn't open root filesystem";
hang();