提交 f71f0595 编写于 作者: P prife

DFS/jffs2: fix bug when umount jffs2

found by haitao5198
clear mount parition device talbe when jffs2 mount falied
上级 12a63662
......@@ -178,6 +178,7 @@ static int dfs_jffs2_mount(struct dfs_filesystem* fs,
result = jffs2_mount(NULL, mte);
if (result != 0)
{
device_partition[index].dev = NULL;
return jffs2_result_to_dfs(result);
}
/* save this pointer */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册