ext4: Report max_batch_time option correctly
PATCH 1/1 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 <[email protected]>
Signed-off-by Ben Hutchings <[email protected]>
--- fs/ext4/super.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ext4/super.c +1 -1
@@ -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); }/*
Signature · 1 line
1.7.7.3
Quoted 5 lines · Ben Hutchings
Currently the value reported for
max_batch_timeis really the value ofmin_batch_time.Reported-by Russell Coker <[email protected]>Signed-off-by Ben Hutchings <[email protected]>
whoops, yep!
Reviewed-by Eric Sandeen <[email protected]>
Quoted 17 lines
--- fs/ext4/super.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)fs/ext4/super.c +1
-1@@ -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); }/*
Quoted 5 lines · Ben Hutchings
Currently the value reported for
max_batch_timeis really the value ofmin_batch_time.Reported-by Russell Coker <[email protected]>Signed-off-by Ben Hutchings <[email protected]>
Applied, thanks.
- Ted