Skip to contentSkip to conversation

ext3: Fix mount messages when quota disabled

PATCH New Jan Kara 1 participant 2 messages Apr 15, 2008 ext4 file system

lore
Share & tools
lore

Jan Kara

author reviewer
#0 lore raw

PATCH 1/1 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.

---
 fs/ext3/super.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
fs/ext3/super.c +4 -1
index 77e9702..58a3d96 100644
@@ -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:
Signature · 1 line
1.5.2.4
author reviewer
#1 lore raw

PATCH 1/1 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.

---
 fs/ext4/super.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
fs/ext4/super.c +4 -1
index 286acec..a30305a 100644
@@ -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:
Signature · 1 line
1.5.2.4