diff options
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 1ec554cc107a..6b5d5c6399fa 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -1630,10 +1630,10 @@ static int ext4_fill_flex_info(struct super_block *sb) | |||
1630 | gdp = ext4_get_group_desc(sb, i, &bh); | 1630 | gdp = ext4_get_group_desc(sb, i, &bh); |
1631 | 1631 | ||
1632 | flex_group = ext4_flex_group(sbi, i); | 1632 | flex_group = ext4_flex_group(sbi, i); |
1633 | sbi->s_flex_groups[flex_group].free_inodes += | 1633 | atomic_set(&sbi->s_flex_groups[flex_group].free_inodes, |
1634 | ext4_free_inodes_count(sb, gdp); | 1634 | ext4_free_inodes_count(sb, gdp)); |
1635 | sbi->s_flex_groups[flex_group].free_blocks += | 1635 | atomic_set(&sbi->s_flex_groups[flex_group].free_blocks, |
1636 | ext4_free_blks_count(sb, gdp); | 1636 | ext4_free_blks_count(sb, gdp)); |
1637 | } | 1637 | } |
1638 | 1638 | ||
1639 | return 1; | 1639 | return 1; |