aboutsummaryrefslogtreecommitdiff
path: root/kernel/filesystem/src/ext2
diff options
context:
space:
mode:
authorLukas Oesch <lukasoesch20@gmail.com>2026-03-15 16:49:07 +0100
committerLukas Oesch <lukasoesch20@gmail.com>2026-03-17 16:43:07 +0100
commit2af1bbc99e2a8fc4b86bb31023dbbb077b1cbc97 (patch)
tree9946202a366b39893dede294d51e6b684ab730ba /kernel/filesystem/src/ext2
parent8eed4d31cf1d07d43e99d53da0fe3a401ce9e85e (diff)
downloadteachos-2af1bbc99e2a8fc4b86bb31023dbbb077b1cbc97.tar.xz
teachos-2af1bbc99e2a8fc4b86bb31023dbbb077b1cbc97.zip
move m_devices from ram_disk_controller to storage_controller, store point to devices
Diffstat (limited to 'kernel/filesystem/src/ext2')
-rw-r--r--kernel/filesystem/src/ext2/ext2_filesystem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/filesystem/src/ext2/ext2_filesystem.cpp b/kernel/filesystem/src/ext2/ext2_filesystem.cpp
index bdd430d..7111d13 100644
--- a/kernel/filesystem/src/ext2/ext2_filesystem.cpp
+++ b/kernel/filesystem/src/ext2/ext2_filesystem.cpp
@@ -1,12 +1,12 @@
#include "filesystem/ext2/ext2_filesystem.hpp"
-#include "devices/block_device.hpp"
+#include "devices/device.hpp"
namespace filesystem::ext2
{
- auto ext2_filesystem::mount(devices::block_device * block_device) -> int
+ auto ext2_filesystem::mount(devices::device * device) -> int
{
- if (!block_device)
+ if (!device)
{
return -1; // TODO BA-FS26 panic or errorcode?
}