提交 e8178d59 编写于 作者: M mucor

refresh parent vnode when get vnode from hash table

Change-Id: I3cc042b1fcd00022bc6ba48e2a05d70f351b83de
上级 89ed41a0
...@@ -205,6 +205,7 @@ int VfsJffs2Lookup(struct Vnode *parentVnode, const char *path, int len, struct ...@@ -205,6 +205,7 @@ int VfsJffs2Lookup(struct Vnode *parentVnode, const char *path, int len, struct
if (newVnode->data == NULL) { if (newVnode->data == NULL) {
LOS_Panic("#####VfsHashGet error#####\n"); LOS_Panic("#####VfsHashGet error#####\n");
} }
newVnode->parent = parentVnode;
*ppVnode = newVnode; *ppVnode = newVnode;
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册