Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174686
b: refs/heads/master
c: e2073e7
h: refs/heads/master
v: v3
  • Loading branch information
Jiro SEKIBA authored and Ryusuke Konishi committed Nov 20, 2009
1 parent 92a02b5 commit 7b98910
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 91f1953bf3243a4215b57d8e2f317a7035924de7
refs/heads/master: e2073e78575e3690ea3cce67b11b7b1de8e85fd3
13 changes: 0 additions & 13 deletions trunk/fs/nilfs2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,19 +582,6 @@ static match_table_t tokens = {
{Opt_err, NULL}
};

static int match_bool(substring_t *s, int *result)
{
int len = s->to - s->from;

if (strncmp(s->from, "on", len) == 0)
*result = 1;
else if (strncmp(s->from, "off", len) == 0)
*result = 0;
else
return 1;
return 0;
}

static int parse_options(char *options, struct super_block *sb)
{
struct nilfs_sb_info *sbi = NILFS_SB(sb);
Expand Down

0 comments on commit 7b98910

Please sign in to comment.