aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 68c3a44c4a97..fcd7b24c6df3 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3557,9 +3557,8 @@ static int ext4_statfs(struct dentry *dentry, struct kstatfs *buf)
3557 if (test_opt(sb, MINIX_DF)) { 3557 if (test_opt(sb, MINIX_DF)) {
3558 sbi->s_overhead_last = 0; 3558 sbi->s_overhead_last = 0;
3559 } else if (sbi->s_blocks_last != ext4_blocks_count(es)) { 3559 } else if (sbi->s_blocks_last != ext4_blocks_count(es)) {
3560 ext4_group_t ngroups = sbi->s_groups_count, i; 3560 ext4_group_t i, ngroups = ext4_get_groups_count(sb);
3561 ext4_fsblk_t overhead = 0; 3561 ext4_fsblk_t overhead = 0;
3562 smp_rmb();
3563 3562
3564 /* 3563 /*
3565 * Compute the overhead (FS structures). This is constant 3564 * Compute the overhead (FS structures). This is constant