Kernel: OpenFileDesctiptor can now return inode of fd

This commit is contained in:
Bananymous
2023-07-23 18:52:33 +03:00
parent 9729e5a05b
commit a2bf474013
2 changed files with 6 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ namespace Kernel
BAN::ErrorOr<void> read_dir_entries(int fd, DirectoryEntryList* list, size_t list_size);
BAN::ErrorOr<BAN::StringView> path_of(int) const;
BAN::ErrorOr<BAN::RefPtr<Inode>> inode_of(int);
private:
struct OpenFileDescription : public BAN::RefCounted<OpenFileDescription>