• Theodore Ts'o's avatar
    ext4: fix overhead calculation used by ext4_statfs() · 952fc18e
    Theodore Ts'o authored
    Commit f975d6bc 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: default avatar"Theodore Ts'o" <tytso@mit.edu>
    Cc: stable@kernel.org
    952fc18e
super.c 147 KB