diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-11-25 22:27:44 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-11-25 22:27:44 +0100 |
commit | b003b52496b9bea9b186b127aea730b79d2a83bd (patch) | |
tree | b4ae0e27022e9813868616fa7ffb29db01502e2b /fs/jffs2/writev.c | |
parent | ext4: remove never taken branch from ext4_ext_shift_path_extents() (diff) | |
download | linux-b003b52496b9bea9b186b127aea730b79d2a83bd.tar.xz linux-b003b52496b9bea9b186b127aea730b79d2a83bd.zip |
ext4: don't count external journal blocks as overhead
This was fixed for ext3 with:
e6d8fb3 ext3: Count internal journal as bsddf overhead in ext3_statfs
but was never fixed for ext4.
With a large external journal and no used disk blocks, df comes
out negative without this, as journal blocks are added to the
overhead & subtracted from used blocks unconditionally.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jffs2/writev.c')
0 files changed, 0 insertions, 0 deletions