Bugfix: add vnode iteration debug feature for a bug

buginfo: when try to umount a nfs node, it may casue stack overflow.

Change-Id: I7d96f74a770607c990ca5f51cb92fb2843a08d12
This commit is contained in:
Far
2021-04-16 10:10:41 +08:00
parent b56c8392fd
commit 7e0e46828b
3 changed files with 23 additions and 1 deletions
+1
View File
@@ -52,5 +52,6 @@ int PathCacheAllocDummy(struct Vnode *parent, struct Vnode **vnode, const char *
int PathCacheLookup(struct Vnode *parent, const char *name, int len, struct Vnode **vnode);
void VnodePathCacheFree(struct Vnode *vnode);
void PathCacheMemoryDump(void);
void PathCacheDump(void);
#endif /* _PATH_CACHE_H */