提交 ba778ec2 编写于 作者: O openharmony_ci 提交者: Gitee

!176 当从hashtable中获取vnode缓存时,需要刷新vnode缓存的parent指针

Merge pull request !176 from 野生毛霉君/master
......@@ -205,6 +205,7 @@ int VfsJffs2Lookup(struct Vnode *parentVnode, const char *path, int len, struct
if (newVnode->data == NULL) {
LOS_Panic("#####VfsHashGet error#####\n");
}
newVnode->parent = parentVnode;
*ppVnode = newVnode;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册