mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-15 17:29:19 +00:00
Add more debug messages
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user