diff options
Diffstat (limited to 'fs/ext3')
-rw-r--r-- | fs/ext3/super.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c index c50c76190373..37fd31ed16e7 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c | |||
@@ -2825,6 +2825,10 @@ static int ext3_statfs (struct dentry * dentry, struct kstatfs * buf) | |||
2825 | * bitmap, and an inode table. | 2825 | * bitmap, and an inode table. |
2826 | */ | 2826 | */ |
2827 | overhead += ngroups * (2 + sbi->s_itb_per_group); | 2827 | overhead += ngroups * (2 + sbi->s_itb_per_group); |
2828 | |||
2829 | /* Add the journal blocks as well */ | ||
2830 | overhead += sbi->s_journal->j_maxlen; | ||
2831 | |||
2828 | sbi->s_overhead_last = overhead; | 2832 | sbi->s_overhead_last = overhead; |
2829 | smp_wmb(); | 2833 | smp_wmb(); |
2830 | sbi->s_blocks_last = le32_to_cpu(es->s_blocks_count); | 2834 | sbi->s_blocks_last = le32_to_cpu(es->s_blocks_count); |