summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-04-28 11:16:14 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 17:58:45 +0200
commitfa1ff1e02fee908dfdc3f92902d39acc38041e4c (patch)
tree9bca635970c38cd7804d9ae02f1a69c3193b431c /fs
parentext3: retry block allocation if new blocks are allocated from system zone (diff)
downloadlinux-fa1ff1e02fee908dfdc3f92902d39acc38041e4c.tar.xz
linux-fa1ff1e02fee908dfdc3f92902d39acc38041e4c.zip
ext3: 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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext3/super.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 03d5c626c1cd..6303adfbdae4 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -1097,6 +1097,9 @@ clear_qf_name:
case Opt_quota:
case Opt_usrquota:
case Opt_grpquota:
+ printk(KERN_ERR
+ "EXT3-fs: quota options not supported.\n");
+ break;
case Opt_usrjquota:
case Opt_grpjquota:
case Opt_offusrjquota:
@@ -1104,7 +1107,7 @@ clear_qf_name:
case Opt_jqfmt_vfsold:
case Opt_jqfmt_vfsv0:
printk(KERN_ERR
- "EXT3-fs: journalled quota options not "
+ "EXT3-fs: journaled quota options not "
"supported.\n");
break;
case Opt_noquota: