diff options
author | Jan Kara <jack@suse.cz> | 2008-04-28 05:16:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:45 -0400 |
commit | fa1ff1e02fee908dfdc3f92902d39acc38041e4c (patch) | |
tree | 9bca635970c38cd7804d9ae02f1a69c3193b431c /fs/ext3 | |
parent | 2588ef83f7933d8ae42868d7bf68fc8a3001186b (diff) |
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/ext3')
-rw-r--r-- | fs/ext3/super.c | 5 |
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: | |||
1097 | case Opt_quota: | 1097 | case Opt_quota: |
1098 | case Opt_usrquota: | 1098 | case Opt_usrquota: |
1099 | case Opt_grpquota: | 1099 | case Opt_grpquota: |
1100 | printk(KERN_ERR | ||
1101 | "EXT3-fs: quota options not supported.\n"); | ||
1102 | break; | ||
1100 | case Opt_usrjquota: | 1103 | case Opt_usrjquota: |
1101 | case Opt_grpjquota: | 1104 | case Opt_grpjquota: |
1102 | case Opt_offusrjquota: | 1105 | case Opt_offusrjquota: |
@@ -1104,7 +1107,7 @@ clear_qf_name: | |||
1104 | case Opt_jqfmt_vfsold: | 1107 | case Opt_jqfmt_vfsold: |
1105 | case Opt_jqfmt_vfsv0: | 1108 | case Opt_jqfmt_vfsv0: |
1106 | printk(KERN_ERR | 1109 | printk(KERN_ERR |
1107 | "EXT3-fs: journalled quota options not " | 1110 | "EXT3-fs: journaled quota options not " |
1108 | "supported.\n"); | 1111 | "supported.\n"); |
1109 | break; | 1112 | break; |
1110 | case Opt_noquota: | 1113 | case Opt_noquota: |