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:Haowen Bai <baihaowen@meizu.com> [rw: Fixed printk string] Signed-off-by:
Richard Weinberger <richard@nod.at>
Loading
Please register or sign in to comment