未验证 提交 12078000 编写于 作者: O openharmony_ci 提交者: Gitee

!125 fix: toybox ls命令查询nfs挂载路径报错问题

Merge pull request !125 from Kiita/0525_mount_3.2
......@@ -296,7 +296,7 @@ int mount(const char *source, const char *target,
}
mnt->vnodeBeCovered->flag |= VNODE_FLAG_MOUNT_ORIGIN;
mnt->vnodeCovered->flag |= VNODE_FLAG_MOUNT_NEW;
mnt->vnodeCovered->filePath = strdup(target);
mnt->vnodeCovered->filePath = strdup(mountpt_vnode->filePath);
mnt->vnodeDev = device;
mnt->ops = mops;
if (target && (strlen(target) != 0))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册