diff options
Diffstat (limited to 'fs/jffs2/super.c')
-rw-r--r-- | fs/jffs2/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index 93883817cbd0..c8fac352a4cf 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c | |||
@@ -152,7 +152,7 @@ static struct super_block *jffs2_get_sb_mtd(struct file_system_type *fs_type, | |||
152 | sb->s_op = &jffs2_super_operations; | 152 | sb->s_op = &jffs2_super_operations; |
153 | sb->s_flags = flags | MS_NOATIME; | 153 | sb->s_flags = flags | MS_NOATIME; |
154 | 154 | ||
155 | ret = jffs2_do_fill_super(sb, data, (flags&MS_VERBOSE)?1:0); | 155 | ret = jffs2_do_fill_super(sb, data, flags & MS_SILENT ? 1 : 0); |
156 | 156 | ||
157 | if (ret) { | 157 | if (ret) { |
158 | /* Failure case... */ | 158 | /* Failure case... */ |
@@ -257,7 +257,7 @@ static struct super_block *jffs2_get_sb(struct file_system_type *fs_type, | |||
257 | } | 257 | } |
258 | 258 | ||
259 | if (imajor(nd.dentry->d_inode) != MTD_BLOCK_MAJOR) { | 259 | if (imajor(nd.dentry->d_inode) != MTD_BLOCK_MAJOR) { |
260 | if (!(flags & MS_VERBOSE)) /* Yes I mean this. Strangely */ | 260 | if (!(flags & MS_SILENT)) |
261 | printk(KERN_NOTICE "Attempt to mount non-MTD device \"%s\" as JFFS2\n", | 261 | printk(KERN_NOTICE "Attempt to mount non-MTD device \"%s\" as JFFS2\n", |
262 | dev_name); | 262 | dev_name); |
263 | goto out; | 263 | goto out; |