aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 50240d28ca24..cf0ffb800654 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -302,7 +302,7 @@ static int parse_options(struct f2fs_sb_info *sbi, char *options)
302 case Opt_active_logs: 302 case Opt_active_logs:
303 if (args->from && match_int(args, &arg)) 303 if (args->from && match_int(args, &arg))
304 return -EINVAL; 304 return -EINVAL;
305 if (arg != 2 && arg != 4 && arg != 6) 305 if (arg != 2 && arg != 4 && arg != NR_CURSEG_TYPE)
306 return -EINVAL; 306 return -EINVAL;
307 sbi->active_logs = arg; 307 sbi->active_logs = arg;
308 break; 308 break;