Kernel: VFS::file_from_absolute_path now used root_file() API

This commit is contained in:
Bananymous 2024-09-15 02:38:25 +03:00
parent 2911d1f018
commit 7feb4c4ebd
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ namespace Kernel
BAN::ErrorOr<File> file_from_relative_path(const File& parent, const Credentials&, BAN::StringView, int);
BAN::ErrorOr<File> file_from_absolute_path(const Credentials& credentials, BAN::StringView path, int flags)
{
return file_from_relative_path(File(root_inode()), credentials, path, flags);
return file_from_relative_path(root_file(), credentials, path, flags);
}
private: