提交 99ee7a39 编写于 作者: O openharmony_ci 提交者: Gitee

!27 LCSL送检内核崩溃问题

Merge pull request !27 from sunman4/OpenHarmony-3.0-LTS
......@@ -172,6 +172,8 @@ int __init jffs2_zlib_init(void)
if (ret)
return ret;
pthread_mutex_init(&deflate_mutex, NULL);
pthread_mutex_init(&inflate_mutex, NULL);
ret = jffs2_register_compressor(&jffs2_zlib_comp);
if (ret)
free_workspaces();
......@@ -181,6 +183,8 @@ int __init jffs2_zlib_init(void)
void jffs2_zlib_exit(void)
{
pthread_mutex_destroy(&deflate_mutex);
pthread_mutex_destroy(&inflate_mutex);
jffs2_unregister_compressor(&jffs2_zlib_comp);
free_workspaces();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册