linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ext3: Fix mount messages when quota disabled
@ 2008-04-15 13:52 Jan Kara
  2008-04-15 13:52 ` [PATCH] ext4: " Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kara @ 2008-04-15 13:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-ext4, Jan Kara

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>
---
 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 77e9702..58a3d96 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -1096,6 +1096,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:
@@ -1103,7 +1106,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:
-- 
1.5.2.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ext4: Fix mount messages when quota disabled
  2008-04-15 13:52 [PATCH] ext3: Fix mount messages when quota disabled Jan Kara
@ 2008-04-15 13:52 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2008-04-15 13:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-ext4, Jan Kara

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>
---
 fs/ext4/super.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 286acec..a30305a 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1241,6 +1241,9 @@ clear_qf_name:
 		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:
@@ -1248,7 +1251,7 @@ clear_qf_name:
 		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:
-- 
1.5.2.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-15 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15 13:52 [PATCH] ext3: Fix mount messages when quota disabled Jan Kara
2008-04-15 13:52 ` [PATCH] ext4: " Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).