mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-03 19:39:18 +00:00
Add more debug messages
This commit is contained in:
@ -165,6 +165,7 @@ namespace vfs
|
||||
|
||||
FileNode *Virtual::CacheLookup(const char *Path)
|
||||
{
|
||||
debug("Cache lookup for \"%s\"", Path);
|
||||
FileNode *rootNode = thisProcess ? thisProcess->Info.RootNode : this->GetRoot(0);
|
||||
|
||||
FileNode *ret = CacheRecursiveSearch(rootNode, Path, false);
|
||||
|
@ -115,6 +115,7 @@ namespace vfs
|
||||
|
||||
FileNode *Virtual::GetByPath(const char *Path, FileNode *Parent)
|
||||
{
|
||||
debug("GetByPath: %s", Path);
|
||||
if (Parent == nullptr)
|
||||
Parent = thisProcess ? thisProcess->Info.RootNode : this->GetRoot(0);
|
||||
|
||||
|
Reference in New Issue
Block a user