Repository navigation
Commit b72f78c
ext4: fix overhead calculations in ext4_stats, again
"overhead" was a write-only variable in this function after commit
952fc18; 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>1 parent ffb5387 commit b72f78c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4790 | 4790 | | |
4791 | 4791 | | |
4792 | 4792 | | |
4793 | | - | |
| 4793 | + | |
4794 | 4794 | | |
4795 | 4795 | | |
4796 | 4796 | | |
| |||
0 commit comments