Commit Message

Commit f975d6bcc7a introduced bug which caused ext4_statfs() to
miscalculate the number of file system overhead blocks. This causes
the f_blocks field in the statfs structure to be larger than it should
be. This would in turn cause the "df" output to show the number of
data blocks in the file system and the number of data blocks used to
be larger than they should be.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
---
fs/ext4/bitmap.c | 4 --
fs/ext4/ext4.h | 4 +-
fs/ext4/resize.c | 7 ++-
fs/ext4/super.c | 174 +++++++++++++++++++++++++++++++++++++++----------------
4 files changed, 132 insertions(+), 57 deletions(-)