commit | 14b44d238ce7402a99db30b806e08b3e4eddcdbe | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Mar 09 15:24:24 2017 -0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Mar 21 22:34:26 2017 -0400 |
tree | 36f35e8f60ef21a8452ae6163099c2b3108747b5 | |
parent | 1941d7bcb474aa38caca16e6d3416e623d37d800 [diff] [blame] |
f2fs: add fault injection on f2fs_truncate Inject a fault during f2fs_truncate(). Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index b549b53..7c9685c 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h
@@ -50,6 +50,7 @@ enum { FAULT_BLOCK, FAULT_DIR_DEPTH, FAULT_EVICT_INODE, + FAULT_TRUNCATE, FAULT_IO, FAULT_CHECKPOINT, FAULT_MAX,