diff options
author | Eric Sandeen <sandeen@redhat.com> | 2012-11-08 19:33:36 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-11-08 19:33:36 +0400 |
commit | b72f78cb63fb595af63fc781dced0a6fd354e572 (patch) | |
tree | 2ec6d7aee78d222b82adaa336cf7b6301efff194 /fs/ext4/mballoc.c | |
parent | ffb5387e85d528fb6d0d924abfa3fbf0fc484071 (diff) | |
download | linux-b72f78cb63fb595af63fc781dced0a6fd354e572.tar.xz |
ext4: fix overhead calculations in ext4_stats, again
"overhead" was a write-only variable in this function after commit
952fc18e; we set it to 0 for minixdf, or to sbi->s_overhead if !minixdf,
but never read it again after that.
We need to use it, not sbi->s_overhead, when subtracting out overhead
for f_blocks, or we get the wrong answer for minixdf.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
0 files changed, 0 insertions, 0 deletions