aboutsummaryrefslogtreecommitdiff
path: root/fs/jffs2/scan.c
diff options
context:
space:
mode:
authorHaowen Bai2022-04-18 18:18:07 +0800
committerRichard Weinberger2022-05-27 16:12:55 +0200
commit22abf318c35bcf642625e4eff56cfec1df361f3b (patch)
treef5d99e188cd02e6c7236cc2b97fc983db54fab80 /fs/jffs2/scan.c
parent42226c989789d8da4af1de0c31070c96726d990c (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>
Diffstat (limited to 'fs/jffs2/scan.c')
0 files changed, 0 insertions, 0 deletions