提交 436fc5e5 编写于 作者: Y YOUR_NAME

IssueNo:#I3EOI0

Description:Delete VM to support only kernel mode.
Sig:liteos_a
Feature or Bugfix:Feature
Binary Source:No

Change-Id: Ie1029c8fbc0c1b85c138663933118d2d148b7769
上级 42c2ad11
...@@ -388,7 +388,11 @@ int jffs2_do_mount_fs(struct jffs2_sb_info *c) ...@@ -388,7 +388,11 @@ int jffs2_do_mount_fs(struct jffs2_sb_info *c)
out_free: out_free:
#ifndef __ECOS #ifndef __ECOS
if (jffs2_blocks_use_vmalloc(c)) if (jffs2_blocks_use_vmalloc(c))
#ifdef LOSCFG_KERNEL_VM
LOS_VFree(c->blocks); LOS_VFree(c->blocks);
#else
free(c->blocks);
#endif
else else
#endif #endif
kfree(c->blocks); kfree(c->blocks);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册