[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110322220921.GD3907@thunk.org>
Date: Tue, 22 Mar 2011 18:09:21 -0400
From: Ted Ts'o <tytso@....edu>
To: Lukas Czerner <lczerner@...hat.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH, RFC 10/12] ext4: teach ext4_statfs() to deal with
clusters if bigalloc is enabled
On Mon, Mar 21, 2011 at 09:17:30PM +0100, Lukas Czerner wrote:
>
> overhead is in clusters units, but
>
> > smp_wmb();
> > sbi->s_blocks_last = ext4_blocks_count(es);
> > @@ -4489,6 +4499,7 @@ static int ext4_statfs(struct dentry *dentry, struct kstatfs *buf)
> > buf->f_blocks = ext4_blocks_count(es) - sbi->s_overhead_last;
>
> here it seems to be treated as blocks if I am not missing something.
Oops, good point! Thanks for catching that.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists