提交 58906adc 编写于 作者: L li_zan

Fix vfs bug

上级 2effbe12
......@@ -175,7 +175,7 @@ int fp_open(char *fullpath, int oflags, mode_t mode)
if (vnode->type == VNODE_TYPE_BCHR)
{
ret = -EINVAL;
VnodeDrop();
VnodeDrop();
goto errout;
}
#ifdef LOSCFG_FS_VFS_BLOCK_DEVICE
......@@ -220,7 +220,7 @@ int fp_open(char *fullpath, int oflags, mode_t mode)
VnodeDrop();
goto errout;
}
parentVnode = vnode;
parentVnode = vnode;
ret = do_creat(parentVnode, fullpath, mode, &vnode);
if (ret != OK)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册