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

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

Merge pull request !178 from Far/fatfs
......@@ -313,6 +313,7 @@ int fatfs_lookup(struct Vnode *parent, const char *path, int len, struct Vnode *
goto ERROR_UNLOCK;
}
} else {
vp->parent = parent;
free(dfp); /* hash hit dfp is no needed */
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册