summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-09-09 18:58:51 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-09-09 18:58:51 -0400
commit24aaa8ef4e2b5764ada1fc69787e2fbd4f6276e5 (patch)
tree7f83cc8e52b5f2edc5d89d2d1808d0972831f9bf /fs/ext4/super.c
parent5704265188ffe4290ed73b3cb685206c3ed8209d (diff)
downloadlwn-24aaa8ef4e2b5764ada1fc69787e2fbd4f6276e5.tar.gz
lwn-24aaa8ef4e2b5764ada1fc69787e2fbd4f6276e5.zip
ext4: convert the free_blocks field in s_flex_groups to be free_clusters
Convert the free_blocks to be free_clusters to make the final revised bigalloc changes easier to read/understand. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index f81e7e791655..d7e0e045b11b 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2035,7 +2035,7 @@ static int ext4_fill_flex_info(struct super_block *sb)
atomic_add(ext4_free_inodes_count(sb, gdp),
&sbi->s_flex_groups[flex_group].free_inodes);
atomic_add(ext4_free_blks_count(sb, gdp),
- &sbi->s_flex_groups[flex_group].free_blocks);
+ &sbi->s_flex_groups[flex_group].free_clusters);
atomic_add(ext4_used_dirs_count(sb, gdp),
&sbi->s_flex_groups[flex_group].used_dirs);
}