diff options
Diffstat (limited to 'kernel/kernel/vfs/inode.hpp')
| -rw-r--r-- | kernel/kernel/vfs/inode.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/kernel/kernel/vfs/inode.hpp b/kernel/kernel/vfs/inode.hpp index 80657b92..d8db8046 100644 --- a/kernel/kernel/vfs/inode.hpp +++ b/kernel/kernel/vfs/inode.hpp @@ -1,9 +1,6 @@ #ifndef TEACHOS_KERNEL_VFS_INODE_HPP #define TEACHOS_KERNEL_VFS_INODE_HPP -#include <kernel/vfs/directory_listing_cursor.hpp> -#include <kernel/vfs/directory_listing_entry.hpp> - #include <kapi/filesystem.hpp> #include <kstd/memory.hpp> @@ -113,9 +110,9 @@ namespace kernel::vfs //! @param position The current directory listing position. //! @param entries An output span to store directory entries. //! @return A pair of the number or read entries and the next listing position on success, an error otherwise. - [[nodiscard]] virtual auto read_directory(directory_listing_cursor position, - std::span<directory_listing_entry> entries) const - -> kstd::result<std::pair<std::size_t, directory_listing_cursor>>; + [[nodiscard]] virtual auto read_directory(kapi::filesystem::directory_cursor position, + std::span<kapi::filesystem::directory_entry> entries) const + -> kstd::result<std::pair<std::size_t, kapi::filesystem::directory_cursor>>; //! @} |
