ext3: Count journal as bsddf overhead in ext3_statfs
authorEric Sandeen <sandeen@redhat.com>
Tue, 15 Oct 2013 23:45:17 +0000 (18:45 -0500)
committerJan Kara <jack@suse.cz>
Wed, 16 Oct 2013 12:29:17 +0000 (14:29 +0200)
commit2046fd1873886e8c774d7c1b0961624c164e7db2
tree93678383a720cd98ee5bd2dac432ecd67bdabfce
parent61e6cfa80de5760bbe406f4e815b7739205754d2
ext3: Count journal as bsddf overhead in ext3_statfs

ext4 counts journal space as bsddf overhead, but ext3 does not.

For some reason when I patched ext4 I thought I should leave
ext3 alone, but frankly it makes more sense to fix it, I think.

Otherwise we get inconsistent behavior from ext3 under ext3.ko,
and ext3 under ext4.ko, which is not at all desirable...

This is testable by xfstests shared/289, though it will need
modification because it currently special-cases ext3.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/super.c