diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-03-09 15:24:24 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-03-21 22:34:26 -0400 |
commit | 14b44d238ce7402a99db30b806e08b3e4eddcdbe (patch) | |
tree | 36f35e8f60ef21a8452ae6163099c2b3108747b5 /fs/f2fs/f2fs.h | |
parent | 1941d7bcb474aa38caca16e6d3416e623d37d800 (diff) | |
download | linux-14b44d238ce7402a99db30b806e08b3e4eddcdbe.tar.bz2 |
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>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index b549b531e586..7c9685c4c904 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, |