From 7feb4c4ebdd896d4eb15bb9277c8f6fa975c4204 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sun, 15 Sep 2024 02:38:25 +0300 Subject: [PATCH] Kernel: VFS::file_from_absolute_path now used root_file() API --- kernel/include/kernel/FS/VirtualFileSystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/include/kernel/FS/VirtualFileSystem.h b/kernel/include/kernel/FS/VirtualFileSystem.h index de4b724be4..d4aa4ba70a 100644 --- a/kernel/include/kernel/FS/VirtualFileSystem.h +++ b/kernel/include/kernel/FS/VirtualFileSystem.h @@ -67,7 +67,7 @@ namespace Kernel BAN::ErrorOr file_from_relative_path(const File& parent, const Credentials&, BAN::StringView, int); BAN::ErrorOr 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: