From: Ben Hutchings Date: Thu, 5 Jan 2012 02:22:51 +0000 (-0500) Subject: ext4: Report max_batch_time option correctly X-Git-Tag: v3.2.24~97 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=42bc7c990b1a040fbfc94b8cad7fd8f626040b51;ds=sidebyside ext4: Report max_batch_time option correctly commit 1d526fc91bea04ee35b7599bf8b82f86c0aaf46c upstream. Currently the value reported for max_batch_time is really the value of min_batch_time. Reported-by: Russell Coker Signed-off-by: Ben Hutchings --- diff --git a/fs/ext4/super.c b/fs/ext4/super.c index ab7aa3f55475..a93486ee6dba 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -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) { seq_printf(seq, ",max_batch_time=%u", - (unsigned) sbi->s_min_batch_time); + (unsigned) sbi->s_max_batch_time); } /*