aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext3/super.c')
-rw-r--r--fs/ext3/super.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index a951fd5c081c..5dbf4dba03c4 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -650,9 +650,6 @@ static int ext3_show_options(struct seq_file *seq, struct vfsmount *vfs)
650 */ 650 */
651 seq_puts(seq, ",barrier="); 651 seq_puts(seq, ",barrier=");
652 seq_puts(seq, test_opt(sb, BARRIER) ? "1" : "0"); 652 seq_puts(seq, test_opt(sb, BARRIER) ? "1" : "0");
653 if (test_opt(sb, NOBH))
654 seq_puts(seq, ",nobh");
655
656 seq_printf(seq, ",data=%s", data_mode_string(test_opt(sb, DATA_FLAGS))); 653 seq_printf(seq, ",data=%s", data_mode_string(test_opt(sb, DATA_FLAGS)));
657 if (test_opt(sb, DATA_ERR_ABORT)) 654 if (test_opt(sb, DATA_ERR_ABORT))
658 seq_puts(seq, ",data_err=abort"); 655 seq_puts(seq, ",data_err=abort");
@@ -1243,10 +1240,12 @@ set_qf_format:
1243 *n_blocks_count = option; 1240 *n_blocks_count = option;
1244 break; 1241 break;
1245 case Opt_nobh: 1242 case Opt_nobh:
1246 set_opt(sbi->s_mount_opt, NOBH); 1243 ext3_msg(sb, KERN_WARNING,
1244 "warning: ignoring deprecated nobh option");
1247 break; 1245 break;
1248 case Opt_bh: 1246 case Opt_bh:
1249 clear_opt(sbi->s_mount_opt, NOBH); 1247 ext3_msg(sb, KERN_WARNING,
1248 "warning: ignoring deprecated bh option");
1250 break; 1249 break;
1251 default: 1250 default:
1252 ext3_msg(sb, KERN_ERR, 1251 ext3_msg(sb, KERN_ERR,
@@ -1989,14 +1988,6 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent)
1989 break; 1988 break;
1990 } 1989 }
1991 1990
1992 if (test_opt(sb, NOBH)) {
1993 if (!(test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_WRITEBACK_DATA)) {
1994 ext3_msg(sb, KERN_WARNING,
1995 "warning: ignoring nobh option - "
1996 "it is supported only with writeback mode");
1997 clear_opt(sbi->s_mount_opt, NOBH);
1998 }
1999 }
2000 /* 1991 /*
2001 * The journal_load will have done any necessary log recovery, 1992 * The journal_load will have done any necessary log recovery,
2002 * so we can safely mount the rest of the filesystem now. 1993 * so we can safely mount the rest of the filesystem now.