diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-01-04 21:22:51 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-01-04 21:22:51 -0500 |
commit | 1d526fc91bea04ee35b7599bf8b82f86c0aaf46c (patch) | |
tree | 606028370d5eadd8e55edac222b41fc9b7e18f0c /fs/ext4 | |
parent | 014a1770371a028d22f364718c805f4216911ecd (diff) |
ext4: Report max_batch_time option correctly
Currently the value reported for max_batch_time is really the
value of min_batch_time.
Reported-by: Russell Coker <russell@coker.com.au>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 35377d57ec4c..36570b7af7c5 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -1096,7 +1096,7 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs) | |||
1096 | } | 1096 | } |
1097 | if (sbi->s_max_batch_time != EXT4_DEF_MAX_BATCH_TIME) { | 1097 | if (sbi->s_max_batch_time != EXT4_DEF_MAX_BATCH_TIME) { |
1098 | seq_printf(seq, ",max_batch_time=%u", | 1098 | seq_printf(seq, ",max_batch_time=%u", |
1099 | (unsigned) sbi->s_min_batch_time); | 1099 | (unsigned) sbi->s_max_batch_time); |
1100 | } | 1100 | } |
1101 | 1101 | ||
1102 | /* | 1102 | /* |