f2fs: inject fault to kzalloc
authorChao Yu <yuchao0@huawei.com>
Thu, 30 Nov 2017 11:28:17 +0000 (19:28 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 27 Jan 2018 21:29:24 +0000 (13:29 -0800)
commit41af39db9fd0b955c0f112b2c343947769acae1f
treea2fb5e7b4cc7834e4a442e67d192087b6dd25f02
parent9fecb4159dc1e69cc8b137d5486c0f2216644c1b
f2fs: inject fault to kzalloc

This patch introduces f2fs_kzalloc based on f2fs_kmalloc in order to
support error injection for kzalloc().

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/debug.c
fs/f2fs/f2fs.h
fs/f2fs/namei.c
fs/f2fs/node.c
fs/f2fs/segment.c
fs/f2fs/xattr.c