diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-03 21:20:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-03 21:29:03 +0200 |
commit | c2a8bbcb59cf0ec5d134cd6ef19c19dd6e485ec7 (patch) | |
tree | a7a328d17223babb43a160b844c1e244a35bf373 /Kernel/init.cpp | |
parent | 9ae3cced764cabec52b15f50b648afe82eeac449 (diff) | |
download | serenity-c2a8bbcb59cf0ec5d134cd6ef19c19dd6e485ec7.zip |
Revert "Kernel: Change Ext2FS to be backed by a file instead of a block device"
This reverts commit 6b59311d4bdc1447e085573f9bd2c42819e264dd.
Reverting these changes since they broke things.
Fixes #1608.
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r-- | Kernel/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp index ddb622f40f..5b9777d3c0 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -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(); |