• Eric Sandeen's avatar
    ext3: Count journal as bsddf overhead in ext3_statfs · 2046fd18
    Eric Sandeen authored
    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: default avatarEric Sandeen <sandeen@redhat.com>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    2046fd18
super.c 85 KB