commit | 087968974fcd9e8c910bba73f3393a49b7380ca6 | [log] [tgz] |
---|---|---|
author | Sheng Yong <shengyong1@huawei.com> | Mon May 16 12:38:50 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon May 16 15:32:02 2016 -0700 |
tree | 4b7ec1ac4320555fef0ad99163701ec2e566d860 | |
parent | b951a4ec165af4973b2bd9c80fb5845fbd840435 [diff] |
f2fs: add fault injection to sysfs This patch introduces a new struct f2fs_fault_info and a global f2fs_fault to save fault injection status. Fault injection entries are created in /sys/fs/f2fs/fault_injection/ during initializing f2fs module. Signed-off-by: Sheng Yong <shengyong1@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>