Skip to content

Commit

Permalink
ext4: Fix mount messages when quota disabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Kara authored and Theodore Ts'o committed May 13, 2008
1 parent dfc5d03 commit cd59e7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1255,14 +1255,17 @@ 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:
case Opt_offgrpjquota:
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:
Expand Down

0 comments on commit cd59e7b

Please sign in to comment.