summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-05-25 15:24:18 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-06-02 18:05:19 -0700
commit53aa6bbfdaae6fe71762e66e23c0fda1207beb2b (patch)
treedfd6e87e7a3fd4898fe856c928928fca72b0d1ba /fs/f2fs/super.c
parent42d964016e2760d75144f41cc78ad8bdca8dc240 (diff)
downloadlinux-53aa6bbfdaae6fe71762e66e23c0fda1207beb2b.tar.gz
linux-53aa6bbfdaae6fe71762e66e23c0fda1207beb2b.tar.bz2
linux-53aa6bbfdaae6fe71762e66e23c0fda1207beb2b.zip
f2fs: inject to produce some orphan inodes
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index a5b57390079c..27f76819eef1 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -49,6 +49,7 @@ char *fault_name[FAULT_MAX] = {
[FAULT_ORPHAN] = "orphan",
[FAULT_BLOCK] = "no more block",
[FAULT_DIR_DEPTH] = "too big dir depth",
+ [FAULT_EVICT_INODE] = "evict_inode fail",
};
static void f2fs_build_fault_attr(unsigned int rate)