commit | 22abf318c35bcf642625e4eff56cfec1df361f3b | [log] [tgz] |
---|---|---|
author | Haowen Bai <baihaowen@meizu.com> | Mon Apr 18 18:18:07 2022 +0800 |
committer | Richard Weinberger <richard@nod.at> | Fri May 27 16:12:55 2022 +0200 |
tree | f5d99e188cd02e6c7236cc2b97fc983db54fab80 | |
parent | 42226c989789d8da4af1de0c31070c96726d990c [diff] |
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>