Commit cd59e7b9 authored by Jan Kara's avatar Jan Kara Committed by Theodore Ts'o

ext4: 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: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarMingming Cao <cmm@us.ibm.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent dfc5d03f
......@@ -1255,6 +1255,9 @@ static int parse_options (char *options, struct super_block *sb,
case Opt_quota:
case Opt_usrquota:
case Opt_grpquota:
printk(KERN_ERR
"EXT4-fs: quota options not supported.\n");
break;
case Opt_usrjquota:
case Opt_grpjquota:
case Opt_offusrjquota:
......@@ -1262,7 +1265,7 @@ static int parse_options (char *options, struct super_block *sb,
case Opt_jqfmt_vfsold:
case Opt_jqfmt_vfsv0:
printk(KERN_ERR
"EXT4-fs: journalled quota options not "
"EXT4-fs: journaled quota options not "
"supported.\n");
break;
case Opt_noquota:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment