Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149554
b: refs/heads/master
c: 0a8eba9
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Linus Torvalds committed Jun 15, 2009
1 parent 7b4f459 commit fdcab54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 45e3e1935e2857c54783291107d33323b3ef33c8
refs/heads/master: 0a8eba9b7f7aa3ad0305627c99ad4d6deedd871d
9 changes: 6 additions & 3 deletions trunk/fs/ramfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,12 @@ static int ramfs_parse_options(char *data, struct ramfs_mount_opts *opts)
return -EINVAL;
opts->mode = option & S_IALLUGO;
break;
default:
printk(KERN_ERR "ramfs: bad mount option: %s\n", p);
return -EINVAL;
/*
* We might like to report bad mount options here;
* but traditionally ramfs has ignored all mount options,
* and as it is used as a !CONFIG_SHMEM simple substitute
* for tmpfs, better continue to ignore other mount options.
*/
}
}

Expand Down

0 comments on commit fdcab54

Please sign in to comment.