diff options
-rw-r--r-- | fs/f2fs/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index a06eee4a8fa1..785d0fdf6e76 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c | |||
@@ -363,10 +363,6 @@ static int parse_options(struct super_block *sb, char *options) | |||
363 | char *p, *name; | 363 | char *p, *name; |
364 | int arg = 0; | 364 | int arg = 0; |
365 | 365 | ||
366 | #ifdef CONFIG_F2FS_FAULT_INJECTION | ||
367 | f2fs_build_fault_attr(sbi, 0); | ||
368 | #endif | ||
369 | |||
370 | if (!options) | 366 | if (!options) |
371 | return 0; | 367 | return 0; |
372 | 368 | ||
@@ -990,6 +986,10 @@ static void default_options(struct f2fs_sb_info *sbi) | |||
990 | #ifdef CONFIG_F2FS_FS_POSIX_ACL | 986 | #ifdef CONFIG_F2FS_FS_POSIX_ACL |
991 | set_opt(sbi, POSIX_ACL); | 987 | set_opt(sbi, POSIX_ACL); |
992 | #endif | 988 | #endif |
989 | |||
990 | #ifdef CONFIG_F2FS_FAULT_INJECTION | ||
991 | f2fs_build_fault_attr(sbi, 0); | ||
992 | #endif | ||
993 | } | 993 | } |
994 | 994 | ||
995 | static int f2fs_remount(struct super_block *sb, int *flags, char *data) | 995 | static int f2fs_remount(struct super_block *sb, int *flags, char *data) |