提交 fa1ff1e0 编写于 作者: J Jan Kara 提交者: Linus Torvalds

ext3: fix mount messages when quota disabled

When quota is disabled, we should not print 'journaled quota not supported'
when user tried to mount non-journaled quota.  Also fix typo in the message.
Signed-off-by: NJan Kara <jack@suse.cz>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 2588ef83
...@@ -1097,6 +1097,9 @@ static int parse_options (char *options, struct super_block *sb, ...@@ -1097,6 +1097,9 @@ static int parse_options (char *options, struct super_block *sb,
case Opt_quota: case Opt_quota:
case Opt_usrquota: case Opt_usrquota:
case Opt_grpquota: case Opt_grpquota:
printk(KERN_ERR
"EXT3-fs: quota options not supported.\n");
break;
case Opt_usrjquota: case Opt_usrjquota:
case Opt_grpjquota: case Opt_grpjquota:
case Opt_offusrjquota: case Opt_offusrjquota:
...@@ -1104,7 +1107,7 @@ static int parse_options (char *options, struct super_block *sb, ...@@ -1104,7 +1107,7 @@ static int parse_options (char *options, struct super_block *sb,
case Opt_jqfmt_vfsold: case Opt_jqfmt_vfsold:
case Opt_jqfmt_vfsv0: case Opt_jqfmt_vfsv0:
printk(KERN_ERR printk(KERN_ERR
"EXT3-fs: journalled quota options not " "EXT3-fs: journaled quota options not "
"supported.\n"); "supported.\n");
break; break;
case Opt_noquota: case Opt_noquota:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册