refactor: separate syscall interfaces from kernel space, into posix compliant structure.
[lunaix-os.git] / lunaix-os / kernel / fs / path_walk.c
index c80d7134d22596d89a7f53addcfb59929c3da8a5..cd0ac01565e4616ca68901a8ccaa7ed2938b244b 100644 (file)
@@ -1,5 +1,6 @@
 #include <lunaix/fs.h>
 #include <lunaix/mm/valloc.h>
+#include <lunaix/process.h>
 #include <lunaix/spike.h>
 
 #include <klibc/string.h>
@@ -106,7 +107,7 @@ __vfs_walk(struct v_dnode* start,
             }
 
             // reposition the resolved subtree pointed by symlink
-            vfs_dcache_rehash(current_level->parent, dnode);
+            // vfs_dcache_rehash(current_level->parent, dnode);
             current_level = dnode;
             current_inode = dnode->inode;
         }