diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-04-30 01:17:09 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-07 19:32:23 +0200 |
commit | c41f3cc3ae34acdbcec328084b4b74f686c02f0d (patch) | |
tree | 4012769ef67e049cdc38fef890f7c67881506457 /fs/f2fs/super.c | |
parent | f2fs: inject kmalloc failure (diff) | |
download | linux-c41f3cc3ae34acdbcec328084b4b74f686c02f0d.tar.xz linux-c41f3cc3ae34acdbcec328084b4b74f686c02f0d.zip |
f2fs: inject page allocation failures
This patch adds page allocation failures.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | fs/f2fs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 9a56f544da3e..986d0da84e01 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -45,6 +45,7 @@ atomic_t f2fs_ops; char *fault_name[FAULT_MAX] = { [FAULT_KMALLOC] = "kmalloc", + [FAULT_PAGE_ALLOC] = "page alloc", }; #endif |