From: Jan Kara Date: Mon, 28 Apr 2008 09:16:14 +0000 (-0700) Subject: ext3: fix mount messages when quota disabled X-Git-Tag: v2.6.26-rc1~745 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fa1ff1e02fee908dfdc3f92902d39acc38041e4c;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 03d5c626c1c..6303adfbdae 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: