]> err.no Git - linux-2.6/commitdiff
ext4: Fix mount messages when quota disabled
authorJan Kara <jack@suse.cz>
Tue, 13 May 2008 23:11:51 +0000 (19:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 13 May 2008 23:11:51 +0000 (19:11 -0400)
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>
fs/ext4/super.c

index 686ebcc2e6c7c9deca2dbfb464476ae8bbd7580f..94a527261caed05f2bc7d163b1c500b16cb93ae2 100644 (file)
@@ -1255,6 +1255,9 @@ set_qf_format:
                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 @@ set_qf_format:
                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: