Skip to content

Commit

Permalink
ext4: Report max_batch_time option correctly
Browse files Browse the repository at this point in the history
Currently the value reported for max_batch_time is really the
value of min_batch_time.

Reported-by: Russell Coker <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
  • Loading branch information
bwhacks authored and tytso committed Jan 5, 2012
1 parent 014a177 commit 1d526fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs)
}
if (sbi->s_max_batch_time != EXT4_DEF_MAX_BATCH_TIME) {
seq_printf(seq, ",max_batch_time=%u",
(unsigned) sbi->s_min_batch_time);
(unsigned) sbi->s_max_batch_time);
}

/*
Expand Down

0 comments on commit 1d526fc

Please sign in to comment.