summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-05-13 19:11:51 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-05-13 19:11:51 -0400
commitcd59e7b9781a35716b8a3e8c4aa2d48081d7daf7 (patch)
treeb93d01eedfe059f0f033b2c6bb5d303486a1f689
parentdfc5d03f12e706c19ee37734184ea96582ef931d (diff)
downloadop-kernel-dev-cd59e7b9781a35716b8a3e8c4aa2d48081d7daf7.zip
op-kernel-dev-cd59e7b9781a35716b8a3e8c4aa2d48081d7daf7.tar.gz
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>
-rw-r--r--fs/ext4/super.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 686ebcc..94a5272 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -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:
OpenPOWER on IntegriCloud