aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2')
-rw-r--r--fs/nilfs2/super.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index 02dcbb008673..b6837f48636f 100644
--- a/fs/nilfs2/super.c
+++ b/fs/nilfs2/super.c
@@ -582,19 +582,6 @@ static match_table_t tokens = {
582 {Opt_err, NULL} 582 {Opt_err, NULL}
583}; 583};
584 584
585static int match_bool(substring_t *s, int *result)
586{
587 int len = s->to - s->from;
588
589 if (strncmp(s->from, "on", len) == 0)
590 *result = 1;
591 else if (strncmp(s->from, "off", len) == 0)
592 *result = 0;
593 else
594 return 1;
595 return 0;
596}
597
598static int parse_options(char *options, struct super_block *sb) 585static int parse_options(char *options, struct super_block *sb)
599{ 586{
600 struct nilfs_sb_info *sbi = NILFS_SB(sb); 587 struct nilfs_sb_info *sbi = NILFS_SB(sb);