aboutsummaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/kernel/filesystem/vfs.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/include/kernel/filesystem/vfs.hpp b/kernel/include/kernel/filesystem/vfs.hpp
index 48b99b2..0058d04 100644
--- a/kernel/include/kernel/filesystem/vfs.hpp
+++ b/kernel/include/kernel/filesystem/vfs.hpp
@@ -62,11 +62,11 @@ namespace kernel::filesystem
auto open(std::string_view path) -> kstd::shared_ptr<dentry>;
/**
- @brief Close a file by its associated @p dentry.
- @param dentry The dentry of the file to close.
+ @brief Close a file by its associated @p path.
+ @param path The path to the file to close.
@return The result of the close operation.
*/
- auto close(kstd::shared_ptr<dentry> const & dentry) -> operation_result;
+ auto close(std::string_view path) -> operation_result;
/**
@brief Mount a @p source path to a specific @p target path.