aboutsummaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-06-01 20:10:57 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-06-02 16:30:20 +0200
commit568e9586c036fc319fc36b12495e5deacb167be9 (patch)
treeac8b1d631d74fb2aa321e0d868689eeb313ab7b7 /kernel/include
parent86170be29f6cb72b29865db0975de09bec89f854 (diff)
downloadkernel-568e9586c036fc319fc36b12495e5deacb167be9.tar.xz
kernel-568e9586c036fc319fc36b12495e5deacb167be9.zip
kernel/vfs: simplify initialization
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/kernel/filesystem/vfs.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/include/kernel/filesystem/vfs.hpp b/kernel/include/kernel/filesystem/vfs.hpp
index e6f2327..bbafa4f 100644
--- a/kernel/include/kernel/filesystem/vfs.hpp
+++ b/kernel/include/kernel/filesystem/vfs.hpp
@@ -35,6 +35,8 @@ namespace kernel::filesystem
invalid_filesystem = -5
};
+ vfs();
+
/**
@brief Initialize the virtual filesystem.
@warning Panics if the VFS has already been initialized.
@@ -83,9 +85,6 @@ namespace kernel::filesystem
auto unmount(std::string_view path) -> operation_result;
private:
- vfs() = default;
- auto init_internal() -> void;
-
/**
* Note: Resolving a dentry requires traversing mount points; since the
* associated 'mount' object is discovered as a byproduct of this