jffs2: Use kzalloc instead of kmalloc/memset
Use kzalloc rather than duplicating its implementation, which makes code simple and easy to understand. Signed-off-by: NHaowen Bai <baihaowen@meizu.com> [rw: Fixed printk string] Signed-off-by: NRichard Weinberger <richard@nod.at>
Showing
想要评论请 注册 或 登录