aboutsummaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/kernel/filesystem/mount.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/kernel/include/kernel/filesystem/mount.hpp b/kernel/include/kernel/filesystem/mount.hpp
index 72855a0..102f660 100644
--- a/kernel/include/kernel/filesystem/mount.hpp
+++ b/kernel/include/kernel/filesystem/mount.hpp
@@ -7,8 +7,6 @@
#include <kstd/memory>
#include <kstd/string>
-#include <string_view>
-
namespace kernel::filesystem
{
/**
@@ -27,8 +25,7 @@ namespace kernel::filesystem
@param parent_mount The parent mount that this mount is attached beneath.
*/
mount(kstd::shared_ptr<dentry> const & mount_dentry, kstd::shared_ptr<dentry> const & root_dentry,
- kstd::shared_ptr<filesystem> const & fs, std::string_view mount_path,
- kstd::shared_ptr<mount> const & parent_mount);
+ kstd::shared_ptr<filesystem> const & fs, kstd::shared_ptr<mount> const & parent_mount);
/**
@brief Get the dentry where the filesystem is mounted.
@@ -48,7 +45,7 @@ namespace kernel::filesystem
/**
@brief Get the path at which the filesystem is mounted.
*/
- [[nodiscard]] auto get_mount_path() const -> std::string_view;
+ [[nodiscard]] auto get_mount_path() const -> kstd::string;
/**
@brief Get the parent mount that this mount was attached beneath.
@@ -56,7 +53,6 @@ namespace kernel::filesystem
[[nodiscard]] auto get_parent_mount() const -> kstd::shared_ptr<mount> const &;
private:
- kstd::string m_mount_path;
kstd::shared_ptr<dentry> m_mount_dentry;
kstd::shared_ptr<dentry> m_root_dentry;
kstd::shared_ptr<filesystem> m_filesystem{};