From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Sandeen Subject: Re: [PATCH] ext4: Report max_batch_time option correctly Date: Tue, 03 Jan 2012 09:46:24 -0600 Message-ID: <4F0322D0.2070403@redhat.com> References: <1325513582.13595.213.camel@deadeye> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "Theodore Ts'o" , Andreas Dilger , linux-ext4@vger.kernel.org, Russell Coker , 654206@bugs.debian.org To: Ben Hutchings Return-path: Received: from mx1.redhat.com ([209.132.183.28]:23203 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753827Ab2ACPqq (ORCPT ); Tue, 3 Jan 2012 10:46:46 -0500 In-Reply-To: <1325513582.13595.213.camel@deadeye> Sender: linux-ext4-owner@vger.kernel.org List-ID: On 1/2/12 8:13 AM, Ben Hutchings wrote: > 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 whoops, yep! Reviewed-by: Eric Sandeen > --- > 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 3e1329e..410e993 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) > } > 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); > } > > /*