mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 10:29:52 +00:00
ext4: Report max_batch_time option correctly
commit 1d526fc91b upstream.
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>
This commit is contained in:
@@ -1097,7 +1097,7 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs)
|
|||||||
}
|
}
|
||||||
if (sbi->s_max_batch_time != EXT4_DEF_MAX_BATCH_TIME) {
|
if (sbi->s_max_batch_time != EXT4_DEF_MAX_BATCH_TIME) {
|
||||||
seq_printf(seq, ",max_batch_time=%u",
|
seq_printf(seq, ",max_batch_time=%u",
|
||||||
(unsigned) sbi->s_min_batch_time);
|
(unsigned) sbi->s_max_batch_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user