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: Jan Kara <jack@suse.cz>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

authored by Jan Kara and committed by Theodore Ts'o cd59e7b9 dfc5d03f

+4 -1
+4 -1
fs/ext4/super.c
··· 1255 case Opt_quota: 1256 case Opt_usrquota: 1257 case Opt_grpquota: 1258 case Opt_usrjquota: 1259 case Opt_grpjquota: 1260 case Opt_offusrjquota: ··· 1265 case Opt_jqfmt_vfsold: 1266 case Opt_jqfmt_vfsv0: 1267 printk(KERN_ERR 1268 - "EXT4-fs: journalled quota options not " 1269 "supported.\n"); 1270 break; 1271 case Opt_noquota:
··· 1255 case Opt_quota: 1256 case Opt_usrquota: 1257 case Opt_grpquota: 1258 + printk(KERN_ERR 1259 + "EXT4-fs: quota options not supported.\n"); 1260 + break; 1261 case Opt_usrjquota: 1262 case Opt_grpjquota: 1263 case Opt_offusrjquota: ··· 1262 case Opt_jqfmt_vfsold: 1263 case Opt_jqfmt_vfsv0: 1264 printk(KERN_ERR 1265 + "EXT4-fs: journaled quota options not " 1266 "supported.\n"); 1267 break; 1268 case Opt_noquota: