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

!1802 fix: liteos-m vfs重构,取消SetDefaultMountPath依赖

Merge pull request !1802 from MGY917/m-vfs
......@@ -410,7 +410,6 @@ static int32_t FsDriverInit(struct HdfDeviceObject *object)
fs[i].lfs_cfg.lookahead_size = 16;
fs[i].lfs_cfg.block_cycles = 1000;
SetDefaultMountPath(i, fs[i].mount_point);
int ret = mount(NULL, fs[i].mount_point, "littlefs", 0, &fs[i].lfs_cfg);
HDF_LOGI("%s: mount fs on '%s' %s\n", __func__, fs[i].mount_point, (ret == 0) ? "succeed" : "failed");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册