ext3: Fix mount messages when quota disabled
Jan Kara
reviewerPATCH 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.
Signed-off-by Jan Kara <[email protected]>
--- fs/ext3/super.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
fs/ext3/super.c +4 -1
@@ -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
Jan Kara
reviewerPATCH 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.
Signed-off-by Jan Kara <[email protected]>
--- fs/ext4/super.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
fs/ext4/super.c +4 -1
@@ -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