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