aboutsummaryrefslogtreecommitdiff
path: root/kernel/src/filesystem/mount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/src/filesystem/mount.cpp')
-rw-r--r--kernel/src/filesystem/mount.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/src/filesystem/mount.cpp b/kernel/src/filesystem/mount.cpp
index 1e04083..b64c370 100644
--- a/kernel/src/filesystem/mount.cpp
+++ b/kernel/src/filesystem/mount.cpp
@@ -27,7 +27,7 @@ namespace kernel::filesystem
}
}
- auto mount::get_mount_dentry() const -> kstd::shared_ptr<dentry> const &
+ auto mount::mount_dentry() const -> kstd::shared_ptr<dentry> const &
{
return m_mount_dentry;
}
@@ -37,21 +37,21 @@ namespace kernel::filesystem
return m_filesystem;
}
- auto mount::get_root_dentry() const -> kstd::shared_ptr<dentry> const &
+ auto mount::root_dentry() const -> kstd::shared_ptr<dentry> const &
{
return m_root_dentry;
}
- auto mount::get_mount_path() const -> kstd::string
+ auto mount::mount_path() const -> kstd::string
{
if (m_mount_dentry)
{
- return m_mount_dentry->get_absolute_path();
+ return m_mount_dentry->absolute_path();
}
return "/";
}
- auto mount::get_parent_mount() const -> kstd::shared_ptr<mount> const &
+ auto mount::parent_mount() const -> kstd::shared_ptr<mount> const &
{
return m_parent_mount;
}
@@ -77,7 +77,7 @@ namespace kernel::filesystem
return m_ref_count == 0;
}
- auto mount::get_ref_count() const -> size_t
+ auto mount::ref_count() const -> size_t
{
return m_ref_count;
}